![]() |
PEARL
Parallel Event Access and Replay Library
|
Policy class to ensure that derived classes cannot be copied. More...
#include <pearl/Uncopyable.h>
Constructors & destructor | |
Uncopyable () | |
Default constructor. More... | |
~Uncopyable () | |
Destructor. More... | |
Uncopyable provides a base class which can be used to ensure that derived classes cannot be copied. This is accomplished by defining both the copy constructor and assignment operator as (unimplemented) private member functions.
|
inlineprotected |
Protected default constructor. Prevents the explicit creation of Uncopyable instances.
\n@par Exception safety\n <b class="paramname">No-throw guarantee:</b> never throws exceptions. <br>\n
|
inlineprotected |
Protected destructor. Prevents deletion of instances through pointers to Uncopyable objects.
\n@par Exception safety\n <b class="paramname">No-throw guarantee:</b> never throws exceptions. <br>\n
![]() |
Copyright © 1998–2019 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |