template <size_t kMinSize>
class HeapRep
Defined at line 123 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
Align to 8 as sanitizers are picky on the alignment of containers to start at
8 byte offsets even when compiling for 32 bit platforms.
Public Methods
void HeapRep<kMinSize> (uint32_t capacity)
Defined at line 125 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
void ~HeapRep<kMinSize> ()
Avoid 'implicitly deleted dtor' warnings on certain compilers.
Defined at line 127 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
uint32_t capacity ()
Defined at line 129 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
const void * elements ()
Defined at line 131 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
void * elements ()
Defined at line 132 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h
size_t SizeOf ()
Returns the size of the HeapRep in bytes. Do not use `sizeof(HeapRep)`,
since that includes the dummy `elements_` member.
Defined at line 136 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h