dynamic_bitset
dynamic_bitset copied to clipboard
With the constructor, assigning the default value does not work ?
Hello,
Consider the following code:
#include <boost/dynamic_bitset.hpp>
#include <iostream>
int main() {
auto bitset = boost::dynamic_bitset<>(10, true);
std::cout << bitset << std::endl;
return 0;
}
The result I expected:
1111111111
But the result is
0000000001
This behavior is it normal ?
On Debian with libboost1.74-dev:amd64.
Thanks in advance