#include <cNonCopyable.h>
Block C++ usage of default copy constructor. base a class on this with protected type. http://stackoverflow.com/questions/4172722/what-is-the-rule-of-three
- Note
- don't use inheritance for templates defined in DLL/SO that might have statics. Use the NonCopyable_IMPL instead. Avoid GRAYCORE_LINK for templates.
◆ cNonCopyable()
Gray::cNonCopyable::cNonCopyable |
( |
| ) |
|
|
inlineprotectednoexcept |
Force the use of Factory creation via protected constructor.
◆ ~cNonCopyable()
Gray::cNonCopyable::~cNonCopyable |
( |
| ) |
|
|
inlineprotectednoexcept |
The documentation for this class was generated from the following file: