I'd like to implement operators > and < for bitset class. I know how to do this for a class of my own (1). I also know I could create a new class inheriting from bitset and implement those operators for it as in (1). The question is whether there is a way in C++ just to extend this base class, w/o creating an inherited child class on top of it?
Could you please tell me where I can look up the correct usage of the const keyword? Probably I just don't understand correctly what it's doing. So far I've read the great introductory tutorial on this site, but this does not seem to be covered there...?