
5 Sep
2025
5 Sep
'25
5:22 p.m.
On 9/5/2025 5:47 PM, Andrey Semashev via Boost wrote:
On 5 Sep 2025 17:52, Gennaro Prota via Boost wrote:
I think I'll now implement the possibility to change the underlying buffer type ("allocator or container" template parameter).
One downside with the "allocator or container" approach is that you would have to duplicate the size of the container. The embedded container will maintain its size as the number of words, but the last word in the bitset may be incomplete, so the bitset will have to have a size of its own.
That was already the case. So far, dynamic_bitset used a std::vector< Block, Allocator >. Now, it will either use that or the provided container type. -- Gennaro Prota <https://prota.dev>