PEARL
Parallel Event Access and Replay Library
List of all members
pearl::uncopyable::Uncopyable Class Reference

Policy class to ensure that derived classes cannot be copied. More...

#include <pearl/Uncopyable.h>

Inheritance diagram for pearl::uncopyable::Uncopyable:
pearl::AmHandler pearl::AmListener pearl::AmRequest pearl::AmRuntime pearl::CartDimension pearl::CartTopology pearl::GroupingSet pearl::MpiMessage pearl::ScopedPtr< BaseT > pearl::TraceArchive pearl::ScopedPtr< detail::CallTree > pearl::ScopedPtr< pearl::detail::DefinitionContainer > pearl::ScopedPtr< pearl::detail::DefinitionTree >

Constructors & destructor

 Uncopyable ()
 Default constructor. More...
 
 ~Uncopyable ()
 Destructor. More...
 

Detailed Description

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.

Note
This class should be used via the pearl::Uncopyable typedef. See the corresponding description for details.

Constructor & Destructor Documentation

◆ Uncopyable()

pearl::uncopyable::Uncopyable::Uncopyable ( )
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

◆ ~Uncopyable()

pearl::uncopyable::Uncopyable::~Uncopyable ( )
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

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

Scalasca    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