Lumiera  0.pre.03
»edit your freedom«
Cloneable Class Reference

#include "lib/nocopy.hpp"

Description

Types marked with this mix-in may be created by copy-construction (or move construction), but may be not reassigned thereafter.

Remarks
especially this allows returning by-value from a builder function, while prohibiting any further copy

Definition at line 91 of file nocopy.hpp.

Protected Member Functions

 Cloneable (Cloneable &&)=default
 
 Cloneable (Cloneable const &)=default
 
Cloneableoperator= (Cloneable &&)=delete
 
Cloneableoperator= (Cloneable const &)=delete
 
+ Inheritance diagram for Cloneable:
+ Collaboration diagram for Cloneable:

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