LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
An empty class that can't be moved (copy is allowed). More...
#include "UncopiableAndUnmovableClass.h"
Public Member Functions | |
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 |
Default copy constructor and assignment. More... | |
UnmovableClass (UnmovableClass &&)=delete | |
Deleted move constructor and assignment. More... | |
UnmovableClass & | operator= (UnmovableClass &&)=delete |
Deleted move constructor and assignment. More... | |
An empty class that can't be moved (copy is allowed).
A class derived from this one can still be moved with an explicit effort. For example, to enable move construction:
the default constructor of the base class can be called explicitly instead of the move constructor. To provide a move assignment operation,
Definition at line 118 of file UncopiableAndUnmovableClass.h.
|
default |
Default constructor.
|
default |
Default copy constructor and assignment.
|
delete |
Deleted move constructor and assignment.
|
default |
Default destructor.
|
default |
Default copy constructor and assignment.
|
delete |
Deleted move constructor and assignment.