Trivial holder for an object (currently the factory in the PARAGRAPH which holds an instance and can be inherited from without polluting the derived class with members which may cause naming conflicts. More...
Public Member Functions | |
template<typename ... Args> | |
object_wrapper (Args &&... args) | |
T & | get (void) |
T const & | get (void) const |
Trivial holder for an object (currently the factory in the PARAGRAPH which holds an instance and can be inherited from without polluting the derived class with members which may cause naming conflicts.
The factory needs inheritance so that it can be initialized before other base classes (not possible if it's a data member).