Scopira 20080306

scopira::tool::singleton< T > Class Template Reference

#include <singleton.h>

List of all members.

Static Public Member Functions

static T * instance (void)
 return instance

Protected Types

typedef
scopira::tool::singleton< T > 
singleton_type

Protected Member Functions

 singleton (T *here)
 ctor
 ~singleton (void)
 dtor

Detailed Description

template<class T>
class scopira::tool::singleton< T >

A singleton helper class.

Not very useful (well, useless) for multiple inheritance singletons.

This class is depreacted -- do not use. It's more trouble than it's worth under very strict (read gcc3.4) compilers.

Author:
Aleksander Demko

The documentation for this class was generated from the following file: