An empty class that can't be copied nor moved. More...
#include <UncopiableAndUnmovableClass.h>
Additional Inherited Members | |
Public Member Functions inherited from lar::UncopiableClass | |
UncopiableClass ()=default | |
Default constructor. More... | |
~UncopiableClass ()=default | |
Default destructor. More... | |
UncopiableClass (UncopiableClass const &)=delete | |
Deleted copy and move constructors and assignments. More... | |
UncopiableClass (UncopiableClass &&)=default | |
UncopiableClass & | operator= (UncopiableClass const &)=delete |
UncopiableClass & | operator= (UncopiableClass &&)=default |
Public Member Functions inherited from lar::UnmovableClass | |
UnmovableClass ()=default | |
Default constructor. More... | |
~UnmovableClass ()=default | |
Default destructor. More... | |
UnmovableClass (UnmovableClass const &)=default | |
Default copy constructor and assignment. More... | |
UnmovableClass & | operator= (UnmovableClass const &)=default |
UnmovableClass (UnmovableClass &&)=delete | |
Deleted move constructor and assignment. More... | |
UnmovableClass & | operator= (UnmovableClass &&)=delete |
An empty class that can't be copied nor moved.
UncopiableClass
, UnmovableClass
A class derived from this one can still be copied and/or moved with an explicit effort. See UncopiableClass
and UnmovableClass
for examples.
Definition at line 150 of file UncopiableAndUnmovableClass.h.