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