Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::Noncopyable Class Reference

#include <ACG/Utils/Noncopyable.hh>

Private Member Functions

 Noncopyable (const Noncopyable &)
 Prevent access to copy constructor.
 
const Noncopyableoperator= (const Noncopyable &)
 Prevent access to assignment operator.
 

Detailed Description

This class demonstrates the non copyable idiom. In some cases it is important an object can't be copied. Deriving from Noncopyable makes sure all relevant constructor and operators are made inaccessable, for public AND derived classes.

Definition at line 73 of file Noncopyable.hh.


The documentation for this class was generated from the following file: