libcds icon indicating copy to clipboard operation
libcds copied to clipboard

Use move in WeakRingBuffer where capable. Allow one-sized ring buffers

Open Hattonuri opened this issue 1 year ago • 1 comments

By this time we are not allowed to create one-sized channel just because of asserts

i suppose this is because of: https://github.com/khizmax/libcds/blob/9985d2a87feaa3e92532e28f4ab762a82855a49c/cds/opt/buffer.h#L343

but 1 & (0) == 0 . so its a valid power of two

Hattonuri avatar Nov 28 '24 20:11 Hattonuri

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

TomlyYang avatar Nov 28 '24 20:11 TomlyYang