Create Log Output Function Based On Variable-parameter List
C++11 supports the flexible parameter list by template technology, it can help us to define a powerful function. The article introduces how to create a log output function which looks like the following scene. Log( IDebug, “one: “, 1, “, two: “, 2, “, three: “, 3 ); The first Read more…