Open Lighting Architecture
0.9.1
|
Helper macros.
Go to the source code of this file.
Macros | |
#define | DISALLOW_COPY_AND_ASSIGN(TypeName) |
Creates dummy copy constructor and assignment operator declarations. | |
#define | STATIC_ASSERT(x) extern int __dummy[static_cast<int>x] |
#define DISALLOW_COPY_AND_ASSIGN | ( | TypeName | ) |
Creates dummy copy constructor and assignment operator declarations.
Use this in the private: section of a class to prevent copying / assignment.