Go to the documentation of this file.
18 #ifndef ION_PORT_MACROS_H_
19 #define ION_PORT_MACROS_H_
27 #if (defined(ION_PLATFORM_NACL) && !defined(ION_PLATFORM_PNACL)) || \
28 (defined(ION_PLATFORM_LINUX) && !defined(ION_GOOGLE_INTERNAL)) || \
29 defined(ION_PLATFORM_QNX)
30 #define ION_DISALLOW_ASSIGN_ONLY(TypeName) \
32 TypeName& operator=(const TypeName&) { return *this; } \
33 private: // semicolon ends up here
35 #define ION_DISALLOW_ASSIGN_ONLY(TypeName) \
36 void operator=(const TypeName&) = delete
38 #define ION_DISALLOW_ASSIGN_ONLY(TypeName) \
39 void operator=(const TypeName&)
44 #define ION_PRETTY_FUNCTION __FUNCSIG__
46 #define ION_PRETTY_FUNCTION __PRETTY_FUNCTION__
49 #endif // ION_PORT_MACROS_H_