MADNESS 0.10.1
Public Member Functions | List of all members
NO_DEFAULTS Class Reference

Disables default copy constructor and assignment operators. More...

#include <nodefaults.h>

Inheritance diagram for NO_DEFAULTS:
Inheritance graph
[legend]

Public Member Functions

 NO_DEFAULTS ()
 
 NO_DEFAULTS (const NO_DEFAULTS &)=delete
 
 NO_DEFAULTS (NO_DEFAULTS &&)=delete
 
NO_DEFAULTSoperator= (const NO_DEFAULTS &)=delete
 
NO_DEFAULTSoperator= (NO_DEFAULTS &&)=delete
 

Detailed Description

Disables default copy constructor and assignment operators.

From http://home.pb.net/~tglenn/CPPNOTES.html. Inherit from this class in order to inhibit the automatic generation of the default copy constructor and the default assignment operator of the derived class.

Constructor & Destructor Documentation

◆ NO_DEFAULTS() [1/3]

NO_DEFAULTS::NO_DEFAULTS ( )
inline

◆ NO_DEFAULTS() [2/3]

NO_DEFAULTS::NO_DEFAULTS ( const NO_DEFAULTS )
delete

◆ NO_DEFAULTS() [3/3]

NO_DEFAULTS::NO_DEFAULTS ( NO_DEFAULTS &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

NO_DEFAULTS & NO_DEFAULTS::operator= ( const NO_DEFAULTS )
delete

◆ operator=() [2/2]

NO_DEFAULTS & NO_DEFAULTS::operator= ( NO_DEFAULTS &&  )
delete

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