D
Dill Hole
Can anyone tell me why
std::bitset<2> foo(std::string("01"))
initializes the bitset in reverse order, i.e.
foo[0]=true
foo[1]=false
I would expect the bitset to be initialized in string text order.
std::bitset<2> foo(std::string("01"))
initializes the bitset in reverse order, i.e.
foo[0]=true
foo[1]=false
I would expect the bitset to be initialized in string text order.