A bit type that is actually only one bit in size and not 8 or 16 or 32?
Posted on 2002-07-26
Here's another one for you out there that just mught happen to know how to do this. I want to be able to create any size type that I want, like in ADA you can set a range for a new type so you can actually create a one bit type to whatever (probably only 64bits, I don't know). I would like to be able to do this in C++ and have a feeling that it will require a bit of assembler to do it with. I'm a bit rusty in that department. I'm just not sure where to actually begin. Does anyone have any comments on this. I have a feeling that you can't and I'm hoping I'm wrong.