C++ race condition helper

    Usage:

     

How can an enum have abstract methods?

 

Thread Safe Singleton Abstract class

Thread Safe Singleton Abstract class