![]() |
Base class for non-copyable class instances.The NonCopyable class is intended to work as a base class for non-copyable classes. Both the copy constructor and the copy assignment operator are declared private and left undefined in order to prohibit copy operations of the derived classes.
.
More...
#include <NonCopyable.h>
Inherited by blaze::Archive< Stream > [private]
, blaze::logging::FunctionTrace [private]
, blaze::MemoryPool< Type, Blocksize > [private]
, blaze::SharedCountBase [private]
, blaze::Singleton< T, D1, D2, D3, D4, D5, D6, D7, D8 > [private]
, blaze::Thread [private]
, blaze::ThreadPool [private]
, blaze::threadpool::Task [private]
, blaze::UniqueArray< T, D > [private]
, blaze::UniquePtr< T, D > [private]
, blaze::Singleton< Logger, SystemClock > [private]
, blaze::Singleton< SystemClock > [private]
, and blaze::UniquePtr< Stream > [private]
.
Protected Member Functions | |
Constructor and destructor | |
NonCopyable () | |
Default constructor for the NonCopyable class. | |
~NonCopyable () | |
Destructor of the NonCopyable class. | |
Private Member Functions | |
Copy constructor and copy assignment operator | |
NonCopyable (const NonCopyable &) | |
Copy constructor (private & undefined) | |
NonCopyable & | operator= (const NonCopyable &) |
Copy assignment operator (private & undefined) | |
Base class for non-copyable class instances.
The NonCopyable class is intended to work as a base class for non-copyable classes. Both the copy constructor and the copy assignment operator are declared private and left undefined in order to prohibit copy operations of the derived classes.
.
Note: It is not necessary to publicly derive from this class. It is sufficient to derive privately to prevent copy operations on the derived class.