//g++ 5.4.0 #include <iostream> class log{ public: const int LogLevelError = 0; const int LogLevelWarning = private: int m_loglevel; public: void SetLevel(int level) { m_loglevel = level; } } int main() { std::cout << "Hello, world!\n"; }