Protected Member Functions | List of all members
Noncopyable Class Reference

A base class for objects that should never be copied. More...

#include <Noncopyable.hpp>

Inheritance diagram for Noncopyable:
BvhN< Sample *, 3 > BvhN< Triangle3< MeshVertexTriple< MeshT > >, 3, Real, NodeAttributeT, MaxDegree, AxisAlignedBox3 > BvhN< T, N, ScalarT, NodeAttributeT, MaxDegree, BoundingVolumeT > DiscreteExponentialMap ImlsSurface BinaryInputStream BinaryOutputStream EdgeWelder VertexWelder LockedOutputStream< StreamT > TextInputStream TextOutputStream

Protected Member Functions

 Noncopyable ()
 Constructor. More...
 ~Noncopyable ()
 Destructor. More...

Detailed Description

A base class for objects that should never be copied.

This is achieved by declaring the copy constructor and assignment operator as private members. Never ever try to refer to an object of a derived class using a Noncopyable pointer or reference (in any case this seems semantically weird) – to ensure this class has zero runtime overhead, the destructor is not virtual.

Definition at line 28 of file Noncopyable.hpp.

Constructor & Destructor Documentation

Noncopyable ( )


Definition at line 32 of file Noncopyable.hpp.

~Noncopyable ( )


Definition at line 35 of file Noncopyable.hpp.

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