MADNESS 0.10.1
NO_DEFAULTS Class Reference

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

#include <nodefaults.h>

Inheritance diagram for NO_DEFAULTS:

Public Member Functions

 NO_DEFAULTS ()
 NO_DEFAULTS (const NO_DEFAULTS &)=delete
 NO_DEFAULTS (NO_DEFAULTS &&)=delete
NO_DEFAULTS & operator= (const NO_DEFAULTS &)=delete
NO_DEFAULTS & operator= (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

References NO_DEFAULTS().

◆ NO_DEFAULTS() [3/3]

NO_DEFAULTS::NO_DEFAULTS ( NO_DEFAULTS && )
delete

References NO_DEFAULTS().

Member Function Documentation

◆ operator=() [1/2]

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

References NO_DEFAULTS().

◆ operator=() [2/2]

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

References NO_DEFAULTS().


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