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
 

Public Member Functions

 Alloc (size_t id=0)
 
 Alloc (const Alloc &)=default
 
template<class U >
 Alloc (const Alloc< U > &that)
 
size_t id () const
 
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)
 

Detailed Description

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

Definition at line 117 of file hash_policy_testing.h.

Member Typedef Documentation

◆ propagate_on_container_swap

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

Definition at line 118 of file hash_policy_testing.h.

Constructor & Destructor Documentation

◆ Alloc() [1/3]

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

Definition at line 121 of file hash_policy_testing.h.

◆ Alloc() [2/3]

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

◆ Alloc() [3/3]

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

Definition at line 127 of file hash_policy_testing.h.

Member Function Documentation

◆ id()

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

Definition at line 134 of file hash_policy_testing.h.

◆ operator=()

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

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 139 of file hash_policy_testing.h.

◆ operator==

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

Definition at line 136 of file hash_policy_testing.h.

Member Data Documentation

◆ id_

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

Definition at line 142 of file hash_policy_testing.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22