Rechercher une page de manuel
std::_Fwd_list_node.3cxx
Langue: en
Version: 346721 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
std::_Fwd_list_node -A helper node class for forward_list. This is just a linked list with a data value in each node. There is a sorting utility method.
SYNOPSIS
Inherits std::_Fwd_list_node_base< _Alloc >.
Public Types
typedef _Alloc::template rebind< _Fwd_list_node_base< _Alloc > >::other::const_pointer _Const_pointer
typedef _Alloc::template rebind< _Fwd_list_node< _Tp, _Alloc > >::other::pointer _Pointer
Public Member Functions
template<typename... _Args> _Fwd_list_node (_Args &&...__args)
void _M_reverse_after ()
template<typename _Comp > void _M_sort_after (_Comp __comp)
void _M_transfer_after (_Pointer __bbegin)
void _M_transfer_after (_Pointer __bbegin, _Pointer __bend)
Static Public Member Functions
static void swap (_Fwd_list_node_base &__x, _Fwd_list_node_base &__y)
Public Attributes
_Pointer _M_next
_Tp _M_value
Detailed Description
template<typename _Tp, typename _Alloc> struct std::_Fwd_list_node< _Tp, _Alloc >
A helper node class for forward_list. This is just a linked list with a data value in each node. There is a sorting utility method.Definition at line 85 of file forward_list.h.
Member Function Documentation
template<typename _Tp , class _Alloc > template<typename _Comp > void std::_Fwd_list_node< _Tp, _Alloc >::_M_sort_after (_Comp __comp)
Sort the singly linked list starting after this node. This node is assumed to be an empty head node (of type _Fwd_list_node_base).
Definition at line 87 of file forward_list.tcc.
Referenced by std::forward_list< _Tp, _Alloc >::sort().
Author
Generated automatically by Doxygen for libstdc++ from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre