|
class NoCopy
Utility base class to disable copy semantics.
Inheriting from this class prevents derived classes from being copied or copy-assigned. The copy constructor and copy assignment operator are declared as deleted.
This is useful for classes that manage unique resources such as file handles, mutexes, threads or memory ownership.
|