Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | Friends | List of all members
absl::container_internal::node_handle_base< PolicyTraits, Alloc > Class Template Reference

#include <common.h>

Inheritance diagram for absl::container_internal::node_handle_base< PolicyTraits, Alloc >:
Inheritance graph
[legend]

Public Types

using allocator_type = Alloc
 

Public Member Functions

bool empty () const noexcept
 
allocator_type get_allocator () const
 
constexpr node_handle_base ()
 
 node_handle_base (node_handle_base &&other) noexcept
 
 operator bool () const noexcept
 
node_handle_baseoperator= (node_handle_base &&other) noexcept
 
 ~node_handle_base ()
 

Protected Types

using slot_type = typename PolicyTraits::slot_type
 

Protected Member Functions

allocator_typealloc ()
 
void destroy ()
 
 node_handle_base (const allocator_type &a, slot_type *s)
 
void reset ()
 
slot_typeslot () const
 

Private Attributes

absl::optional< allocator_typealloc_
 
absl::aligned_storage_t< sizeof(slot_type), alignof(slot_type)> slot_space_
 

Friends

struct CommonAccess
 

Detailed Description

template<typename PolicyTraits, typename Alloc>
class absl::container_internal::node_handle_base< PolicyTraits, Alloc >

Definition at line 51 of file common.h.

Member Typedef Documentation

◆ allocator_type

template<typename PolicyTraits , typename Alloc >
using absl::container_internal::node_handle_base< PolicyTraits, Alloc >::allocator_type = Alloc

Definition at line 56 of file common.h.

◆ slot_type

template<typename PolicyTraits , typename Alloc >
using absl::container_internal::node_handle_base< PolicyTraits, Alloc >::slot_type = typename PolicyTraits::slot_type
protected

Definition at line 53 of file common.h.

Constructor & Destructor Documentation

◆ node_handle_base() [1/3]

template<typename PolicyTraits , typename Alloc >
constexpr absl::container_internal::node_handle_base< PolicyTraits, Alloc >::node_handle_base ( )
inline

Definition at line 58 of file common.h.

◆ node_handle_base() [2/3]

template<typename PolicyTraits , typename Alloc >
absl::container_internal::node_handle_base< PolicyTraits, Alloc >::node_handle_base ( node_handle_base< PolicyTraits, Alloc > &&  other)
inlinenoexcept

Definition at line 59 of file common.h.

◆ ~node_handle_base()

template<typename PolicyTraits , typename Alloc >
absl::container_internal::node_handle_base< PolicyTraits, Alloc >::~node_handle_base ( )
inline

Definition at line 62 of file common.h.

◆ node_handle_base() [3/3]

template<typename PolicyTraits , typename Alloc >
absl::container_internal::node_handle_base< PolicyTraits, Alloc >::node_handle_base ( const allocator_type a,
slot_type s 
)
inlineprotected

Definition at line 80 of file common.h.

Member Function Documentation

◆ alloc()

template<typename PolicyTraits , typename Alloc >
allocator_type* absl::container_internal::node_handle_base< PolicyTraits, Alloc >::alloc ( )
inlineprotected

Definition at line 100 of file common.h.

◆ destroy()

template<typename PolicyTraits , typename Alloc >
void absl::container_internal::node_handle_base< PolicyTraits, Alloc >::destroy ( )
inlineprotected

Definition at line 84 of file common.h.

◆ empty()

template<typename PolicyTraits , typename Alloc >
bool absl::container_internal::node_handle_base< PolicyTraits, Alloc >::empty ( ) const
inlinenoexcept

Definition at line 73 of file common.h.

◆ get_allocator()

template<typename PolicyTraits , typename Alloc >
allocator_type absl::container_internal::node_handle_base< PolicyTraits, Alloc >::get_allocator ( ) const
inline

Definition at line 75 of file common.h.

◆ operator bool()

template<typename PolicyTraits , typename Alloc >
absl::container_internal::node_handle_base< PolicyTraits, Alloc >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 74 of file common.h.

◆ operator=()

template<typename PolicyTraits , typename Alloc >
node_handle_base& absl::container_internal::node_handle_base< PolicyTraits, Alloc >::operator= ( node_handle_base< PolicyTraits, Alloc > &&  other)
inlinenoexcept

Definition at line 63 of file common.h.

◆ reset()

template<typename PolicyTraits , typename Alloc >
void absl::container_internal::node_handle_base< PolicyTraits, Alloc >::reset ( )
inlineprotected

Definition at line 91 of file common.h.

◆ slot()

template<typename PolicyTraits , typename Alloc >
slot_type* absl::container_internal::node_handle_base< PolicyTraits, Alloc >::slot ( ) const
inlineprotected

Definition at line 96 of file common.h.

Friends And Related Function Documentation

◆ CommonAccess

template<typename PolicyTraits , typename Alloc >
friend struct CommonAccess
friend

Definition at line 78 of file common.h.

Member Data Documentation

◆ alloc_

template<typename PolicyTraits , typename Alloc >
absl::optional<allocator_type> absl::container_internal::node_handle_base< PolicyTraits, Alloc >::alloc_
private

Definition at line 103 of file common.h.

◆ slot_space_

template<typename PolicyTraits , typename Alloc >
absl::aligned_storage_t<sizeof(slot_type), alignof(slot_type)> absl::container_internal::node_handle_base< PolicyTraits, Alloc >::slot_space_
mutableprivate

Definition at line 105 of file common.h.


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


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