1 #ifndef _utl_UniqueObject_h_
2 #define _utl_UniqueObject_h_
5 #include <utl/TypeId.h>
6 #include <utl/AugerException.h>
34 std::stringstream err;
35 err <<
"Class " << TypeId<T>.Name() <<
" is not unique"
static void EnsureUnique()
Exception to use if sequence of initialisations violated.
Curiously Recurring Template Pattern (CRTP) for unique object.