Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_MACROS_H__
32 #define GOOGLE_PROTOBUF_MACROS_H__
37 #undef GOOGLE_DISALLOW_EVIL_CONSTRUCTORS
38 #define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName) \
39 TypeName(const TypeName&) = delete; \
40 void operator=(const TypeName&) = delete
42 #undef GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS
43 #define GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
44 TypeName() = delete; \
45 TypeName(const TypeName&) = delete; \
46 void operator=(const TypeName&) = delete
85 #undef GOOGLE_ARRAYSIZE
86 #define GOOGLE_ARRAYSIZE(a) \
87 ((sizeof(a) / sizeof(*(a))) / \
88 static_cast<size_t>(!(sizeof(a) % sizeof(*(a)))))
93 #endif // GOOGLE_PROTOBUF_MACROS_H__
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:17