Quote Originally Posted by D_Drmmr View Post
But then still, you are using a global variable, which is often a sign of bad design.
Global const variable. AFAIK, there is nothing wrong with those. For example: std::string::npos, std::ios::in, etc...