Carna
Version 3.0.1
|
Go to the source code of this file.
Classes | |
class | Carna::base::noncopyable |
Objects from classes inheriting this cannot be copied. More... | |
Namespaces | |
Carna::base | |
Contains the core framework components. | |
Macros | |
#define | NON_COPYABLE private: ::Carna::base::noncopyable __noncopyable; |
Features class it is placed in as non-copyable. More... | |
Defines Carna::base::noncopyable and NON_COPYABLE.
Definition in file noncopyable.h.
#define NON_COPYABLE private: ::Carna::base::noncopyable __noncopyable; |
Features class it is placed in as non-copyable.
Example:
This example also shows why the macro variant is to be preferred in place of the noncopyable super-class: In case some derivation becomes copyable, the "is" semantics stay valid.
Definition at line 109 of file noncopyable.h.
Documentation generated by Doxygen