A polymorphic empty class that can't be copied (moving is allowed).
- See Also
PolymorphicClass
, PolymorphicUnmovableClass
, PolymorphicUncopiableAndUnmovableClass
A class derived from this one can still be copied with an explicit effort. For example, to enable copy construction:
CopiableClass(CopiableClass
const&
from)
{
}
};
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.