boostorg / dynamic_bitset

Boost.org dynamic_bitset module
http://boost.org/libs/dynamic_bitset
Boost Software License 1.0
38 stars 59 forks source link

Make buffer_type changeable #76

Open schaumb opened 2 years ago

schaumb commented 2 years ago

I want to use dynamic_bitset with boost::container::small_vector, but currently it is not possible because buffer type is not changeable.

Other adapter containers like boost::container::flat_set allows to pass an "allocator or container" template argument. This modification can be made for dynamic_bitset too in a backward compatible way.