xentara-utils v2.0.4
The Xentara Utility Library
|
A class that can be neither copied nor moved. More...
#include <xentara/utils/tools/DisableCopy.hpp>
Public Member Functions | |
constexpr | DisableCopy () noexcept=default |
Default constructor. | |
DisableCopy (const DisableCopy &)=delete | |
Deleted copy constructor. | |
DisableCopy & | operator= (const DisableCopy &)=delete |
Deleted assignment operator. | |
A class that can be neither copied nor moved.
This is an empty class with deleted copy and move constructors and assignment operators. You can derive from this class to easily make a class unmovable and uncopyable.
|
constexprdefaultnoexcept |
Default constructor.
|
delete |
Deleted copy constructor.
|
delete |
Deleted assignment operator.