Extra long bitfields?

Is there a simple way to (theoretically) create a bitfield that are longer than most datatypes?

As in, (for instance, I'll be using one smaller probably) could I create a 50 bit, int-style datatype, without assuming that the computer I'm on is 64-bit?
Use std::bitset<>
Wow, I didn't know that existed!
Thank you so much!
Topic archived. No new replies allowed.