Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_MACROS_H__
32 #define GOOGLE_PROTOBUF_MACROS_H__
39 #undef GOOGLE_DISALLOW_EVIL_CONSTRUCTORS
40 #define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName) \
41 TypeName(const TypeName&); \
42 void operator=(const TypeName&)
44 #undef GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS
45 #define GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
47 TypeName(const TypeName&); \
48 void operator=(const TypeName&)
87 #undef GOOGLE_ARRAYSIZE
88 #define GOOGLE_ARRAYSIZE(a) \
89 ((sizeof(a) / sizeof(*(a))) / \
90 static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
115 #define GOOGLE_COMPILE_ASSERT(expr, msg) static_assert(expr, #msg)
120 #endif // GOOGLE_PROTOBUF_MACROS_H__
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:55