Inherit from this class to forbid copy constructor in your class. More...
#include <non_copyable.hpp>
Public Member Functions | |
non_copyable () | |
Default constructor. | |
Private Member Functions | |
non_copyable (const non_copyable &that) | |
Copy constructor is private. | |
non_copyable & | operator= (const non_copyable &that) |
Assignment operator is private. |
Inherit from this class to forbid copy constructor in your class.
Definition at line 41 of file non_copyable.hpp.
claw::concept::non_copyable::non_copyable | ( | ) | [inline] |
claw::concept::non_copyable::non_copyable | ( | const non_copyable & | that | ) | [inline, private] |
Copy constructor is private.
that | Instance to copy from. |
Definition at line 52 of file non_copyable.hpp.
non_copyable& claw::concept::non_copyable::operator= | ( | const non_copyable & | that | ) | [inline, private] |
Assignment operator is private.
that | Instance to copy from. |
Definition at line 58 of file non_copyable.hpp.