GRPC C++
1.62.0
|
A C++ allocator for containers of T. More...
#include <memory_allocator.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
Container (MemoryAllocator *underlying_allocator) | |
Construct the allocator: underlying_allocator is borrowed, and must outlive this object. More... | |
template<typename U > | |
Container (const Container< U > &other) | |
MemoryAllocator * | underlying_allocator () const |
T * | allocate (size_t n) |
void | deallocate (T *p, size_t n) |
A C++ allocator for containers of T.
using grpc_event_engine::experimental::MemoryAllocator::Container< T >::value_type = T |
|
inlineexplicit |
Construct the allocator: underlying_allocator is borrowed, and must outlive this object.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |