A non-virtual function says, you have to do this and you must do it this way. A virtual function says you have to do this, but you don't have to do it this way. That's their fundamental difference.
Excellent piece of code. Certainly, I will include some lines to my personal library. However, I suggest to change macro
#define HEXIFY(x) 0x##x##LU
to
#define HEXIFY(V) 0x##V##LU
since in Visual C++ 2008 compiler it failed to produce right results.
I am being sponsored by Syntress! They bought me an amazing dedicated server to run catonmat on. If you're looking web services, I highly recommend the Syntress guys!
Excellent piece of code. Certainly, I will include some lines to my personal library. However, I suggest to change macro
#define HEXIFY(x) 0x##x##LU
to
#define HEXIFY(V) 0x##V##LU
since in Visual C++ 2008 compiler it failed to produce right results.
Reply To This Comment