3 #ifndef DUNE_SINGLETON_HH
4 #define DUNE_SINGLETON_HH
#define DUNE_EXPORT
Export a symbol as part of the public ABI.
Definition: visibility.hh:18
An adapter to turn a class into a singleton.
Definition: singleton.hh:53
static DUNE_EXPORT T & instance()
Get the instance of the singleton.
Definition: singleton.hh:68
Definition of macros controlling symbol visibility at the ABI level.
Singleton()
Definition: singleton.hh:57
Singleton(const Singleton &)
Private copy constructor.
Definition: singleton.hh:59
Singleton & operator=(const Singleton &)
Private assignment operator.
Definition: singleton.hh:61