std::bitset<8> b; b = 0b110011; // ok, conversion implicite b = std::bitset<8> { "110011" }; // ok, conversion explicite