Scroll to navigation

std::_Fwd_list_base< _Tp, _Alloc >(3cxx) std::_Fwd_list_base< _Tp, _Alloc >(3cxx)

NAME

std::_Fwd_list_base< _Tp, _Alloc > - Base class for forward_list.

SYNOPSIS

#include <forward_list>

Public Types


typedef _Fwd_list_node< _Tp > _Node
typedef _Fwd_list_const_iterator< _Tp > const_iterator
typedef _Fwd_list_iterator< _Tp > iterator

Public Member Functions


_Fwd_list_base (_Fwd_list_base &&)=default
_Fwd_list_base (_Fwd_list_base &&__lst, _Node_alloc_type &&__a)
_Fwd_list_base (_Fwd_list_base &&__lst, _Node_alloc_type &&__a, std::true_type)
_Fwd_list_base (_Node_alloc_type &&__a)
const _Node_alloc_type & _M_get_Node_allocator () const noexcept
_Node_alloc_type & _M_get_Node_allocator () noexcept

Protected Types


typedef __gnu_cxx::__alloc_traits< _Node_alloc_type > _Node_alloc_traits
typedef __alloc_rebind< _Alloc, _Fwd_list_node< _Tp > > _Node_alloc_type

Protected Member Functions


template<typename... _Args> _Node * _M_create_node (_Args &&... __args)
_Fwd_list_node_base * _M_erase_after (_Fwd_list_node_base *__pos)
_Fwd_list_node_base * _M_erase_after (_Fwd_list_node_base *__pos, _Fwd_list_node_base *__last)
_Node * _M_get_node ()
template<typename... _Args> _Fwd_list_node_base * _M_insert_after (const_iterator __pos, _Args &&... __args)
void _M_put_node (_Node *__p)

Protected Attributes


_Fwd_list_impl _M_impl

Detailed Description

template<typename _Tp, typename _Alloc>

struct std::_Fwd_list_base< _Tp, _Alloc >"Base class for forward_list.

Definition at line 295 of file forward_list.

Member Typedef Documentation

template<typename _Tp , typename _Alloc > typedef _Fwd_list_node<_Tp> std::_Fwd_list_base< _Tp, _Alloc >::_Node

Definition at line 327 of file forward_list.

template<typename _Tp , typename _Alloc > typedef __gnu_cxx::__alloc_traits<_Node_alloc_type> std::_Fwd_list_base< _Tp, _Alloc >::_Node_alloc_traits [protected]

Definition at line 299 of file forward_list.

template<typename _Tp , typename _Alloc > typedef __alloc_rebind<_Alloc, _Fwd_list_node<_Tp> > std::_Fwd_list_base< _Tp, _Alloc >::_Node_alloc_type [protected]

Definition at line 298 of file forward_list.

template<typename _Tp , typename _Alloc > typedef _Fwd_list_const_iterator<_Tp> std::_Fwd_list_base< _Tp, _Alloc >::const_iterator

Definition at line 326 of file forward_list.

template<typename _Tp , typename _Alloc > typedef _Fwd_list_iterator<_Tp> std::_Fwd_list_base< _Tp, _Alloc >::iterator

Definition at line 325 of file forward_list.

Constructor & Destructor Documentation

template<typename _Tp , typename _Alloc > std::_Fwd_list_base< _Tp, _Alloc >::_Fwd_list_base (_Node_alloc_type && __a) [inline]

Definition at line 339 of file forward_list.

template<typename _Tp , typename _Alloc > std::_Fwd_list_base< _Tp, _Alloc >::_Fwd_list_base (_Fwd_list_base< _Tp, _Alloc > && __lst, _Node_alloc_type && __a, std::true_type) [inline]

Definition at line 343 of file forward_list.

template<typename _Tp , typename _Alloc > std::_Fwd_list_base< _Tp, _Alloc >::_Fwd_list_base (_Fwd_list_base< _Tp, _Alloc > && __lst, _Node_alloc_type && __a)

Definition at line 39 of file forward_list.tcc.

template<typename _Tp , typename _Alloc > std::_Fwd_list_base< _Tp, _Alloc >::~_Fwd_list_base () [inline]

Definition at line 353 of file forward_list.

Member Function Documentation

template<typename _Tp , typename _Alloc > template<typename... _Args> _Node * std::_Fwd_list_base< _Tp, _Alloc >::_M_create_node (_Args &&... __args) [inline], [protected]

Definition at line 366 of file forward_list.

template<typename _Tp , typename _Alloc > _Fwd_list_node_base * std::_Fwd_list_base< _Tp, _Alloc >::_M_erase_after (_Fwd_list_node_base * __pos) [protected]

Definition at line 63 of file forward_list.tcc.

template<typename _Tp , typename _Alloc > _Fwd_list_node_base * std::_Fwd_list_base< _Tp, _Alloc >::_M_erase_after (_Fwd_list_node_base * __pos, _Fwd_list_node_base * __last) [protected]

Definition at line 77 of file forward_list.tcc.

template<typename _Tp , typename _Alloc > _Node * std::_Fwd_list_base< _Tp, _Alloc >::_M_get_node () [inline], [protected]

Definition at line 358 of file forward_list.

template<typename _Tp , typename _Alloc > const _Node_alloc_type & std::_Fwd_list_base< _Tp, _Alloc >::_M_get_Node_allocator () const [inline], [noexcept]

Definition at line 334 of file forward_list.

template<typename _Tp , typename _Alloc > _Node_alloc_type & std::_Fwd_list_base< _Tp, _Alloc >::_M_get_Node_allocator () [inline], [noexcept]

Definition at line 330 of file forward_list.

template<typename _Tp , typename _Alloc > template<typename... _Args> _Fwd_list_node_base * std::_Fwd_list_base< _Tp, _Alloc >::_M_insert_after (const_iterator __pos, _Args &&... __args) [protected]

Definition at line 50 of file forward_list.tcc.

template<typename _Tp , typename _Alloc > void std::_Fwd_list_base< _Tp, _Alloc >::_M_put_node (_Node * __p) [inline], [protected]

Definition at line 389 of file forward_list.

Member Data Documentation

template<typename _Tp , typename _Alloc > _Fwd_list_impl std::_Fwd_list_base< _Tp, _Alloc >::_M_impl [protected]

Definition at line 322 of file forward_list.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++