libstdc++
stl_list.h File Reference

Go to the source code of this file.

Classes

class  std::_List_base< _Tp, _Alloc >
 
struct  std::_List_const_iterator< _Tp >
 
struct  std::_List_iterator< _Tp >
 
struct  std::_List_node< _Tp >
 
struct  std::__detail::_List_node_base
 
struct  std::__detail::_List_node_header
 
class  std::list< _Tp, _Alloc >
 

Namespaces

namespace  std
 
namespace  std::__detail
 

Macros

#define _GLIBCXX_LIST_REMOVE_RETURN_TYPE_TAG
 
#define _GLIBCXX_USE_ALLOC_PTR_FOR_LIST
 

Functions

template<typename _Tp>
ptrdiff_t std::__distance (::_List_const_iterator< _Tp >, ::_List_const_iterator< _Tp >, input_iterator_tag)
 
template<typename _Tp>
ptrdiff_t std::__distance (::_List_iterator< _Tp >, ::_List_iterator< _Tp >, input_iterator_tag)
 
template<bool _Const, typename _Ptr>
ptrdiff_t std::__distance (__list::_Iterator< _Const, _Ptr > __first, __list::_Iterator< _Const, _Ptr > __last, input_iterator_tag __tag)
 
template<typename _InputIterator, typename _ValT = typename iterator_traits<_InputIterator>::value_type, typename _Allocator = allocator<_ValT>, typename = _RequireInputIter<_InputIterator>, typename = _RequireAllocator<_Allocator>>
 std::list (_InputIterator, _InputIterator, _Allocator=_Allocator()) -> list< _ValT, _Allocator >
 
template<typename _Tp, typename _Alloc>
__detail::__synth3way_t< _Tp > std::operator<=> (const list< _Tp, _Alloc > &__x, const list< _Tp, _Alloc > &__y)
 
template<typename _Tp, typename _Alloc>
bool std::operator== (const list< _Tp, _Alloc > &__x, const list< _Tp, _Alloc > &__y)
 
template<typename _Tp, typename _Alloc>
void std::swap (list< _Tp, _Alloc > &__x, list< _Tp, _Alloc > &__y) noexcept(/*conditional */)
 

Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <list>.

Definition in file stl_list.h.

Macro Definition Documentation

◆ _GLIBCXX_LIST_REMOVE_RETURN_TYPE_TAG

#define _GLIBCXX_LIST_REMOVE_RETURN_TYPE_TAG

Definition at line 2232 of file stl_list.h.

◆ _GLIBCXX_USE_ALLOC_PTR_FOR_LIST

#define _GLIBCXX_USE_ALLOC_PTR_FOR_LIST

Definition at line 78 of file stl_list.h.