Lumiera  0.pre.03
»edit your freedom«
AssignmentPolicy< API, enable_if< allow_Clone_but_no_Copy< API > > > Struct Template Reference

#include "lib/polymorphic-value.hpp"

Description

template<class API>
struct lib::polyvalue::AssignmentPolicy< API, enable_if< allow_Clone_but_no_Copy< API > > >

special case when the embedded payload objects permit copy construction, but no assignment to existing instances.

Instead of invoking the assignment operator (which typically isn't defined at all in such cases), a misguided assignment to the container will raise an exception

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

Static Public Member Functions

template<class IMP >
static void assignEmbedded (IMP &, IMP const &)
 
+ Collaboration diagram for AssignmentPolicy< API, enable_if< allow_Clone_but_no_Copy< API > > >:

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