Lumiera  0.pre.03
»edit your freedom«
PolymorphicValue< IFA, storage, CPY >::Adapter< IMP > Class Template Reference

Description

template<class IFA, size_t storage, class CPY = IFA>
template<class IMP>
class lib::PolymorphicValue< IFA, storage, CPY >::Adapter< IMP >

Implementation Helper: add support for copy operations.

Actually instances of this Adapter template are placed into the internal buffer, such that they both inherit from the desired implementation type and the copy support interface. The implementation of the concrete copy operations is provided here as forwarding to the copy operations of the implementation object.

Definition at line 416 of file polymorphic-value.hpp.

Public Member Functions

template<typename... ARGS>
 Adapter (ARGS &&... args)
 

Private Member Functions

virtual void cloneInto (void *targetBuffer) const
 
virtual void copyInto (IFA &targetBase) const
 
+ Inheritance diagram for PolymorphicValue< IFA, storage, CPY >::Adapter< IMP >:
+ Collaboration diagram for PolymorphicValue< IFA, storage, CPY >::Adapter< IMP >:

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