Public
Authored by Zhiping Jiang (蒋志平) 💬

Perfect C++11 Singleton Class Template

Perfect C++11 singleton in just one line

Example:

typedef Singleton<A-ThreadPool-Class> ThreadPoolSingleton;

Edited
Singleton.hpp 768 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment