Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
google::protobuf.internal::MapAllocator< U > Class Template Reference

#include <map.h>

Classes

struct  rebind
 

Public Types

using const_pointer = const value_type *
 
using const_reference = const value_type &
 
using difference_type = ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 
using size_type = size_t
 
using value_type = U
 

Public Member Functions

pointer allocate (size_type n, const void *=nullptr)
 
Arenaarena () const
 
template<class NodeType , class... Args>
void construct (NodeType *p, Args &&... args)
 
void deallocate (pointer p, size_type n)
 
template<class NodeType >
void destroy (NodeType *p)
 
constexpr MapAllocator ()
 
constexpr MapAllocator (Arena *arena)
 
template<typename X >
 MapAllocator (const MapAllocator< X > &allocator)
 
size_type max_size () const
 
template<typename X >
bool operator!= (const MapAllocator< X > &other) const
 
template<typename X >
bool operator== (const MapAllocator< X > &other) const
 

Private Types

using DestructorSkippable_ = void
 

Private Attributes

Arenaarena_
 

Detailed Description

template<typename U>
class google::protobuf.internal::MapAllocator< U >

Definition at line 102 of file third_party/protobuf/src/google/protobuf/map.h.

Member Typedef Documentation

◆ const_pointer

◆ const_reference

◆ DestructorSkippable_

template<typename U >
using google::protobuf.internal::MapAllocator< U >::DestructorSkippable_ = void
private

◆ difference_type

template<typename U >
using google::protobuf.internal::MapAllocator< U >::difference_type = ptrdiff_t

◆ pointer

template<typename U >
using google::protobuf.internal::MapAllocator< U >::pointer = value_type*

◆ reference

template<typename U >
using google::protobuf.internal::MapAllocator< U >::reference = value_type&

◆ size_type

template<typename U >
using google::protobuf.internal::MapAllocator< U >::size_type = size_t

◆ value_type

template<typename U >
using google::protobuf.internal::MapAllocator< U >::value_type = U

Constructor & Destructor Documentation

◆ MapAllocator() [1/3]

template<typename U >
constexpr google::protobuf.internal::MapAllocator< U >::MapAllocator ( )
inlineconstexpr

◆ MapAllocator() [2/3]

template<typename U >
constexpr google::protobuf.internal::MapAllocator< U >::MapAllocator ( Arena arena)
inlineexplicitconstexpr

◆ MapAllocator() [3/3]

template<typename U >
template<typename X >
google::protobuf.internal::MapAllocator< U >::MapAllocator ( const MapAllocator< X > &  allocator)
inline

Member Function Documentation

◆ allocate()

template<typename U >
pointer google::protobuf.internal::MapAllocator< U >::allocate ( size_type  n,
const void *  = nullptr 
)
inline

◆ arena()

template<typename U >
Arena* google::protobuf.internal::MapAllocator< U >::arena ( ) const
inline

◆ construct()

template<typename U >
template<class NodeType , class... Args>
void google::protobuf.internal::MapAllocator< U >::construct ( NodeType *  p,
Args &&...  args 
)
inline

◆ deallocate()

template<typename U >
void google::protobuf.internal::MapAllocator< U >::deallocate ( pointer  p,
size_type  n 
)
inline

◆ destroy()

template<typename U >
template<class NodeType >
void google::protobuf.internal::MapAllocator< U >::destroy ( NodeType *  p)
inline

◆ max_size()

template<typename U >
size_type google::protobuf.internal::MapAllocator< U >::max_size ( ) const
inline

◆ operator!=()

template<typename U >
template<typename X >
bool google::protobuf.internal::MapAllocator< U >::operator!= ( const MapAllocator< X > &  other) const
inline

◆ operator==()

template<typename U >
template<typename X >
bool google::protobuf.internal::MapAllocator< U >::operator== ( const MapAllocator< X > &  other) const
inline

Member Data Documentation

◆ arena_

template<typename U >
Arena* google::protobuf.internal::MapAllocator< U >::arena_
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:25