![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/opaque-holder.hpp"
Alternative policy for accessing the contents without a common interface; use this policy if the intention is to use OpaqueHolder with a family of similar classes, without requiring all of them to be derived from a common base class.
(E.g. std::function objects). In this case, the "Base" type will be defined to void* As a consequence, we loose all type information and no conversions are possible on re-access. You need to know the exact type to get back at the object.
Definition at line 160 of file opaque-holder.hpp.
Public Types | |
| using | Base = void |
Static Public Member Functions | |
| template<class SUB > | |
| static void * | convert2base (SUB &obj) |
| using Base = void |
Definition at line 162 of file opaque-holder.hpp.
|
inlinestatic |
Definition at line 166 of file opaque-holder.hpp.
Collaboration diagram for InPlaceAnyHolder_unrelatedTypes: