Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Member Functions | List of all members
NotCopyable Class Reference

Ensures an object is not copyable. More...

#include <misc.h>

Inheritance diagram for NotCopyable:
[legend]

Public Member Functions

 NotCopyable ()
 

Private Member Functions

 NotCopyable (const NotCopyable &)
 
void operator= (const NotCopyable &)
 

Detailed Description

Ensures an object is not copyable.

NotCopyable ensures an object is not copyable by making the copy constructor and assignment operator private. Deleters are not used under C++11.

See also
Clonable class

Definition at line 217 of file misc.h.

Constructor & Destructor Documentation

NotCopyable::NotCopyable ( )
inline

Definition at line 220 of file misc.h.

NotCopyable::NotCopyable ( const NotCopyable )
private

Member Function Documentation

void NotCopyable::operator= ( const NotCopyable )
private

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