Is it possible to reinitialize bitset with string?
I have a simple class like this:
class Bits{
public:
bitset<1024>b;
};
Is it possible that later I get a string and in code I set bits with the string (string is 1024 length and only 1 and 0)?
Bits c;
c.b.something(string);
yes, simplest is: