Commit 8de2bec9 authored by Andreas Neu's avatar Andreas Neu
Browse files

Added header file Macros.hh. Further macros in the future will be defined there.

Macro NOT_COPYABLE(Class) implemented, which automatically creates empty assignment operators and an empty copy constructor for class.
parent b1985b21
// Copyright (c) 2011, Computer Graphics Group RWTH Aachen University //
// All rights reserved. //
//Macro to make a class not copyable
#define NOT_COPYABLE(Class) private:\
Class(const Class& other){ }\
void operator=(Class other){ }\
void operator=(Class& other){ }
#endif // MACROS_HH
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment