I have a vector of bitset<8> that looks like this:
01010110 01010111 01011000
etc..
How can I access the bits two at a time? How can I store two bits in a variable?
For the first element of the vector I want 01
, then 01
, then 01
, then 10
and so on..