5 #ifndef BALL_CONCEPT_FACTORY_H
6 #define BALL_CONCEPT_FACTORY_H
37 static T default_instance;
38 return default_instance;
43 #endif // BALL_CONCEPT_FACTORY_H
static T * create()
Return a pointer to a new instance of T.
static void * createVoid()
Return a void pointer to a new instance of T.
static const T & getDefault()
Return a reference to a (pre-instantiated) default object.