Noncopyable Class Reference
 
 
 
Noncopyable Class Reference

#include <Noncopyable.h>

Inheritance diagram for Noncopyable:
MaxHeapOperators ActionTable Animatable ClassDirectory DependentIterator DllDir IActionManager10 IBatchRenderView IFileResolutionManager MacroEntry::DisableCompileGuard IAssetManager SmartHandle IDlgShowingStatusForPolyObj VariableGuard< T > WindowsMessageFilter ReferenceSaveManager SubClassList

Class Description

Noncopyable is a handy utility mix-in base class that makes any class derived from it non-copyable.

Rather than explicitly disabling the copy constructor and assignment operator for a class by declaring them private and leaving them unimplemented, deriving from this class has the same effect. The compiler cannot generate a copy constructor or assignment operator for a class derived from Noncopyable because Noncopyable's are private and unimplemented.

Protected Member Functions

  Noncopyable ()
  ~Noncopyable ()

Constructor & Destructor Documentation

Noncopyable ( ) [inline, protected]
{};
~Noncopyable ( ) [inline, protected]
{};