Lumiera  0.pre.03
»edit your freedom«
InPlaceAnyHolder_unrelatedTypes Struct Reference

#include "lib/opaque-holder.hpp"

Description

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 168 of file opaque-holder.hpp.

Public Types

typedef void Base
 

Static Public Member Functions

template<class SUB >
static void * convert2base (SUB &obj)
 
+ Collaboration diagram for InPlaceAnyHolder_unrelatedTypes:

The documentation for this struct was generated from the following file: