Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
absl::container_internal::Alloc< T > Struct Template Reference

#include <hash_policy_testing.h>

Inheritance diagram for absl::container_internal::Alloc< T >:
Inheritance graph
[legend]

Classes

struct  rebind
 

Public Types

using propagate_on_container_swap = std::true_type
 
using propagate_on_container_swap = std::true_type
 

Public Member Functions

 Alloc (const Alloc &)=default
 
 Alloc (const Alloc &)=default
 
template<class U >
 Alloc (const Alloc< U > &that)
 
template<class U >
 Alloc (const Alloc< U > &that)
 
 Alloc (size_t id=0)
 
 Alloc (size_t id=0)
 
size_t id () const
 
size_t id () const
 
Allocoperator= (const Alloc &)=default
 
Allocoperator= (const Alloc &)=default
 

Private Attributes

size_t id_ = (std::numeric_limits<size_t>::max)()
 

Friends

bool operator!= (const Alloc &a, const Alloc &b)
 
bool operator!= (const Alloc &a, const Alloc &b)
 
bool operator== (const Alloc &a, const Alloc &b)
 
bool operator== (const Alloc &a, const Alloc &b)
 

Detailed Description

template<class T = int>
struct absl::container_internal::Alloc< T >

Definition at line 118 of file abseil-cpp/absl/container/internal/hash_policy_testing.h.

Member Typedef Documentation

◆ propagate_on_container_swap [1/2]

template<class T = int>
using absl::container_internal::Alloc< T >::propagate_on_container_swap = std::true_type

◆ propagate_on_container_swap [2/2]

template<class T = int>
using absl::container_internal::Alloc< T >::propagate_on_container_swap = std::true_type

Constructor & Destructor Documentation

◆ Alloc() [1/6]

template<class T = int>
absl::container_internal::Alloc< T >::Alloc ( size_t  id = 0)
inlineexplicit

◆ Alloc() [2/6]

template<class T = int>
absl::container_internal::Alloc< T >::Alloc ( const Alloc< T > &  )
default

◆ Alloc() [3/6]

template<class T = int>
template<class U >
absl::container_internal::Alloc< T >::Alloc ( const Alloc< U > &  that)
inline

◆ Alloc() [4/6]

template<class T = int>
absl::container_internal::Alloc< T >::Alloc ( size_t  id = 0)
inlineexplicit

◆ Alloc() [5/6]

template<class T = int>
absl::container_internal::Alloc< T >::Alloc ( const Alloc< T > &  )
default

◆ Alloc() [6/6]

template<class T = int>
template<class U >
absl::container_internal::Alloc< T >::Alloc ( const Alloc< U > &  that)
inline

Member Function Documentation

◆ id() [1/2]

template<class T = int>
size_t absl::container_internal::Alloc< T >::id ( ) const
inline

◆ id() [2/2]

template<class T = int>
size_t absl::container_internal::Alloc< T >::id ( ) const
inline

◆ operator=() [1/2]

template<class T = int>
Alloc& absl::container_internal::Alloc< T >::operator= ( const Alloc< T > &  )
default

◆ operator=() [2/2]

template<class T = int>
Alloc& absl::container_internal::Alloc< T >::operator= ( const Alloc< T > &  )
default

Friends And Related Function Documentation

◆ operator!= [1/2]

template<class T = int>
bool operator!= ( const Alloc< T > &  a,
const Alloc< T > &  b 
)
friend

◆ operator!= [2/2]

template<class T = int>
bool operator!= ( const Alloc< T > &  a,
const Alloc< T > &  b 
)
friend

◆ operator== [1/2]

template<class T = int>
bool operator== ( const Alloc< T > &  a,
const Alloc< T > &  b 
)
friend

◆ operator== [2/2]

template<class T = int>
bool operator== ( const Alloc< T > &  a,
const Alloc< T > &  b 
)
friend

Member Data Documentation

◆ id_

template<class T = int>
size_t absl::container_internal::Alloc< T >::id_ = (std::numeric_limits<size_t>::max)()
private

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


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