cpp-mate  0.7
Helpful library for C++.
CppMate::Noncopyable Class Reference

Represent base class for uncopable instances. More...

#include <Noncopyable.hpp>

Public Member Functions

 Noncopyable (const Noncopyable &other)=delete
 Deleted copy constructor. More...
 
 Noncopyable (Noncopyable &&other)=delete
 Deleted move constructor. More...
 
Noncopyableoperator= (const Noncopyable &other)=delete
 Deleted operator =. More...
 
Noncopyableoperator= (Noncopyable &&other)=delete
 Deleted operator = for rvalue. More...
 
virtual ~Noncopyable ()=default
 

Protected Member Functions

 Noncopyable ()=default
 

Detailed Description

Represent base class for uncopable instances.

Constructor & Destructor Documentation

◆ Noncopyable() [1/3]

CppMate::Noncopyable::Noncopyable ( const Noncopyable other)
delete

Deleted copy constructor.

Parameters
otherinstance to copy from.

◆ Noncopyable() [2/3]

CppMate::Noncopyable::Noncopyable ( Noncopyable &&  other)
delete

Deleted move constructor.

Parameters
otherinstance to move from.

◆ ~Noncopyable()

virtual CppMate::Noncopyable::~Noncopyable ( )
virtualdefault

Default destructor.

◆ Noncopyable() [3/3]

CppMate::Noncopyable::Noncopyable ( )
protecteddefault

Default constructor.

Member Function Documentation

◆ operator=() [1/2]

Noncopyable& CppMate::Noncopyable::operator= ( const Noncopyable other)
delete

Deleted operator =.

Parameters
otherinstance to copy from.
Returns
instance itself.

◆ operator=() [2/2]

Noncopyable& CppMate::Noncopyable::operator= ( Noncopyable &&  other)
delete

Deleted operator = for rvalue.

Parameters
otherinstance to move from.
Returns
instance itself.

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