CatapultServer  v0.5.0.1 (Elephant)
catapult::utils::NonCopyable Class Reference

A class that can neither be copied nor moved. More...

Inheritance diagram for catapult::utils::NonCopyable:

Public Member Functions

constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Detailed Description

A class that can neither be copied nor moved.

Constructor & Destructor Documentation

◆ NonCopyable() [1/2]

constexpr catapult::utils::NonCopyable::NonCopyable ( )
constexprdefault

Default constructor.

◆ ~NonCopyable()

catapult::utils::NonCopyable::~NonCopyable ( )
default

Default destructor.

◆ NonCopyable() [2/2]

catapult::utils::NonCopyable::NonCopyable ( const NonCopyable )
delete

Disabled copy constructor.

Member Function Documentation

◆ operator=()

NonCopyable& catapult::utils::NonCopyable::operator= ( const NonCopyable )
delete

Disabled assignment operator.


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