A polymorphic empty class that can't be copied (moving is allowed). More...
#include <UncopiableAndUnmovableClass.h>
Public Member Functions | |
PolymorphicUncopiableClass ()=default | |
PolymorphicUncopiableClass (PolymorphicUncopiableClass const &)=delete | |
PolymorphicUncopiableClass (PolymorphicUncopiableClass &&)=default | |
PolymorphicUncopiableClass & | operator= (PolymorphicUncopiableClass const &)=delete |
PolymorphicUncopiableClass & | operator= (PolymorphicUncopiableClass &&)=default |
Public Member Functions inherited from lar::PolymorphicClass | |
PolymorphicClass ()=default | |
virtual | ~PolymorphicClass ()=default |
A polymorphic 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 237 of file UncopiableAndUnmovableClass.h.
|
default |
|
delete |
|
default |
|
delete |
|
default |