Hello. i needed a variable size bit string. And since bitset provides several operations, i wanted to use it. But is it possible to make it a variable size one? class TryBits { private: string s; bitset b; //now i need n = s.size(). }; How can i achieve this? Thanks