Macros.hh 657 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2011, Computer Graphics Group RWTH Aachen University         //
// All rights reserved.                                                       //
////////////////////////////////////////////////////////////////////////////////

#ifndef ACGL_BASE_MACROS_HH
#define ACGL_BASE_MACROS_HH

//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