std::string_view bits = "10101010";
std::bitset<8> b(bits); // error
bitset accepts a std::string. It accepts a const char*
Not a string_view. Through C++23, you copied it into a string or spelled out bits.data(), bits.size() 🧵👇
Our mission is to make the C++ programming language accessible and useful to anyone who wishes to learn and apply the language.

