Wednesday, December 1, 2010


The largest number of bits that can be represented in a bitset is (1 << (sizeof(byte)*sizeof(size_t)) limited by memory.

Eventhough, there is the conversion routine to_long(), that is supposed to convert the bits to an unsigned long, bitset can be used with a lot more bits.

No comments:

Post a Comment