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