.TH "__gnu_cxx::slist< _Tp, _Alloc >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::slist< _Tp, _Alloc > .SH SYNOPSIS .br .PP .PP Inherits __gnu_cxx::_Slist_base< _Tp, _Alloc >\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _Base::allocator_type \fBallocator_type\fP" .br .ti -1c .RI "typedef _Slist_iterator< _Tp, const _Tp &, const _Tp * > \fBconst_iterator\fP" .br .ti -1c .RI "typedef const value_type * \fBconst_pointer\fP" .br .ti -1c .RI "typedef const value_type & \fBconst_reference\fP" .br .ti -1c .RI "typedef std::ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "typedef _Slist_iterator< _Tp, _Tp &, _Tp * > \fBiterator\fP" .br .ti -1c .RI "typedef value_type * \fBpointer\fP" .br .ti -1c .RI "typedef value_type & \fBreference\fP" .br .ti -1c .RI "typedef std::size_t \fBsize_type\fP" .br .ti -1c .RI "typedef _Tp \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "template \fBslist\fP (_InputIterator __first, _InputIterator __last, const allocator_type &__a=allocator_type())" .br .ti -1c .RI "\fBslist\fP (const allocator_type &__a=allocator_type())" .br .ti -1c .RI "\fBslist\fP (const \fBslist\fP &__x)" .br .ti -1c .RI "\fBslist\fP (size_type __n)" .br .ti -1c .RI "\fBslist\fP (size_type __n, const value_type &__x, const allocator_type &__a=allocator_type())" .br .ti -1c .RI "template void \fB_M_assign_dispatch\fP (_InputIterator __first, _InputIterator __last, std::__false_type)" .br .ti -1c .RI "template void \fB_M_assign_dispatch\fP (_Integer __n, _Integer __val, std::__true_type)" .br .ti -1c .RI "void \fB_M_fill_assign\fP (size_type __n, const _Tp &__val)" .br .ti -1c .RI "template void \fBassign\fP (_InputIterator __first, _InputIterator __last)" .br .ti -1c .RI "void \fBassign\fP (size_type __n, const _Tp &__val)" .br .ti -1c .RI "iterator \fBbefore_begin\fP ()" .br .ti -1c .RI "const_iterator \fBbefore_begin\fP () const" .br .ti -1c .RI "iterator \fBbegin\fP ()" .br .ti -1c .RI "const_iterator \fBbegin\fP () const" .br .ti -1c .RI "void \fBclear\fP ()" .br .ti -1c .RI "bool \fBempty\fP () const" .br .ti -1c .RI "iterator \fBend\fP ()" .br .ti -1c .RI "const_iterator \fBend\fP () const" .br .ti -1c .RI "iterator \fBerase\fP (iterator __first, iterator __last)" .br .ti -1c .RI "iterator \fBerase\fP (iterator __pos)" .br .ti -1c .RI "iterator \fBerase_after\fP (iterator __before_first, iterator __last)" .br .ti -1c .RI "iterator \fBerase_after\fP (iterator __pos)" .br .ti -1c .RI "reference \fBfront\fP ()" .br .ti -1c .RI "const_reference \fBfront\fP () const" .br .ti -1c .RI "allocator_type \fBget_allocator\fP () const" .br .ti -1c .RI "iterator \fBinsert\fP (iterator __pos)" .br .ti -1c .RI "template void \fBinsert\fP (iterator __pos, _InIterator __first, _InIterator __last)" .br .ti -1c .RI "iterator \fBinsert\fP (iterator __pos, const value_type &__x)" .br .ti -1c .RI "void \fBinsert\fP (iterator __pos, size_type __n, const value_type &__x)" .br .ti -1c .RI "iterator \fBinsert_after\fP (iterator __pos)" .br .ti -1c .RI "template void \fBinsert_after\fP (iterator __pos, _InIterator __first, _InIterator __last)" .br .ti -1c .RI "iterator \fBinsert_after\fP (iterator __pos, const value_type &__x)" .br .ti -1c .RI "void \fBinsert_after\fP (iterator __pos, size_type __n, const value_type &__x)" .br .ti -1c .RI "size_type \fBmax_size\fP () const" .br .ti -1c .RI "template void \fBmerge\fP (\fBslist\fP &, _StrictWeakOrdering)" .br .ti -1c .RI "void \fBmerge\fP (\fBslist\fP &__x)" .br .ti -1c .RI "\fBslist\fP & \fBoperator=\fP (const \fBslist\fP &__x)" .br .ti -1c .RI "void \fBpop_front\fP ()" .br .ti -1c .RI "iterator \fBprevious\fP (const_iterator __pos)" .br .ti -1c .RI "const_iterator \fBprevious\fP (const_iterator __pos) const" .br .ti -1c .RI "void \fBpush_front\fP ()" .br .ti -1c .RI "void \fBpush_front\fP (const value_type &__x)" .br .ti -1c .RI "void \fBremove\fP (const _Tp &__val)" .br .ti -1c .RI "template void \fBremove_if\fP (_Predicate __pred)" .br .ti -1c .RI "void \fBresize\fP (size_type new_size)" .br .ti -1c .RI "void \fBresize\fP (size_type new_size, const _Tp &__x)" .br .ti -1c .RI "void \fBreverse\fP ()" .br .ti -1c .RI "size_type \fBsize\fP () const" .br .ti -1c .RI "void \fBsort\fP ()" .br .ti -1c .RI "template void \fBsort\fP (_StrictWeakOrdering __comp)" .br .ti -1c .RI "void \fBsplice\fP (iterator __pos, \fBslist\fP &__x)" .br .ti -1c .RI "void \fBsplice\fP (iterator __pos, \fBslist\fP &__x, iterator __first, iterator __last)" .br .ti -1c .RI "void \fBsplice\fP (iterator __pos, \fBslist\fP &__x, iterator __i)" .br .ti -1c .RI "void \fBsplice_after\fP (iterator __pos, iterator __before_first, iterator __before_last)" .br .ti -1c .RI "void \fBsplice_after\fP (iterator __pos, iterator __prev)" .br .ti -1c .RI "void \fBsplice_after\fP (iterator __pos, \fBslist\fP &__x)" .br .ti -1c .RI "void \fBswap\fP (\fBslist\fP &__x)" .br .ti -1c .RI "void \fBunique\fP ()" .br .ti -1c .RI "template void \fBunique\fP (_BinaryPredicate __pred)" .br .in -1c .SH "Detailed Description" .PP .SS "template> .br class __gnu_cxx::slist< _Tp, _Alloc >"This is an SGI extension\&. .PP \fBTodo\fP .RS 4 Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html .RE .PP .PP Definition at line \fB287\fP of file \fBslist\fP\&. .SH "Member Typedef Documentation" .PP .SS "template> typedef _Base::allocator_type \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::allocator_type" .PP Definition at line \fB307\fP of file \fBslist\fP\&. .SS "template> typedef _Slist_iterator<_Tp, const _Tp&, const _Tp*> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::const_iterator" .PP Definition at line \fB305\fP of file \fBslist\fP\&. .SS "template> typedef const value_type* \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::const_pointer" .PP Definition at line \fB298\fP of file \fBslist\fP\&. .SS "template> typedef const value_type& \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::const_reference" .PP Definition at line \fB300\fP of file \fBslist\fP\&. .SS "template> typedef std::ptrdiff_t \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::difference_type" .PP Definition at line \fB302\fP of file \fBslist\fP\&. .SS "template> typedef _Slist_iterator<_Tp, _Tp&, _Tp*> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::iterator" .PP Definition at line \fB304\fP of file \fBslist\fP\&. .SS "template> typedef value_type* \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::pointer" .PP Definition at line \fB297\fP of file \fBslist\fP\&. .SS "template> typedef value_type& \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::reference" .PP Definition at line \fB299\fP of file \fBslist\fP\&. .SS "template> typedef std::size_t \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::size_type" .PP Definition at line \fB301\fP of file \fBslist\fP\&. .SS "template> typedef _Tp \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::value_type" .PP Definition at line \fB296\fP of file \fBslist\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::slist (const allocator_type & __a = \fCallocator_type()\fP)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB358\fP of file \fBslist\fP\&. .SS "template> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::slist (size_type __n, const value_type & __x, const allocator_type & __a = \fCallocator_type()\fP)\fC [inline]\fP" .PP Definition at line \fB361\fP of file \fBslist\fP\&. .SS "template> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::slist (size_type __n)\fC [inline]\fP, \fC [explicit]\fP" .PP Definition at line \fB367\fP of file \fBslist\fP\&. .SS "template> template \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::slist (_InputIterator __first, _InputIterator __last, const allocator_type & __a = \fCallocator_type()\fP)\fC [inline]\fP" .PP Definition at line \fB374\fP of file \fBslist\fP\&. .SS "template> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::slist (const \fBslist\fP< _Tp, _Alloc > & __x)\fC [inline]\fP" .PP Definition at line \fB379\fP of file \fBslist\fP\&. .SS "template> \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::~\fBslist\fP ()\fC [inline]\fP" .PP Definition at line \fB386\fP of file \fBslist\fP\&. .SH "Member Function Documentation" .PP .SS "template template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::_M_assign_dispatch (_InputIterator __first, _InputIterator __last, std::__false_type)" .PP Definition at line \fB772\fP of file \fBslist\fP\&. .SS "template> template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::_M_assign_dispatch (_Integer __n, _Integer __val, std::__true_type)\fC [inline]\fP" .PP Definition at line \fB411\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::_M_fill_assign (size_type __n, const _Tp & __val)" .PP Definition at line \fB753\fP of file \fBslist\fP\&. .SS "template> template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::assign (_InputIterator __first, _InputIterator __last)\fC [inline]\fP" .PP Definition at line \fB403\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::assign (size_type __n, const _Tp & __val)\fC [inline]\fP" .PP Definition at line \fB395\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::before_begin ()\fC [inline]\fP" .PP Definition at line \fB445\fP of file \fBslist\fP\&. .SS "template> const_iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::before_begin () const\fC [inline]\fP" .PP Definition at line \fB449\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::begin ()\fC [inline]\fP" .PP Definition at line \fB422\fP of file \fBslist\fP\&. .SS "template> const_iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::begin () const\fC [inline]\fP" .PP Definition at line \fB426\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::clear ()\fC [inline]\fP" .PP Definition at line \fB632\fP of file \fBslist\fP\&. .SS "template> bool \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::empty () const\fC [inline]\fP" .PP Definition at line \fB461\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::end ()\fC [inline]\fP" .PP Definition at line \fB430\fP of file \fBslist\fP\&. .SS "template> const_iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::end () const\fC [inline]\fP" .PP Definition at line \fB434\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::erase (iterator __first, iterator __last)\fC [inline]\fP" .PP Definition at line \fB617\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::erase (iterator __pos)\fC [inline]\fP" .PP Definition at line \fB610\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::erase_after (iterator __before_first, iterator __last)\fC [inline]\fP" .PP Definition at line \fB603\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::erase_after (iterator __pos)\fC [inline]\fP" .PP Definition at line \fB599\fP of file \fBslist\fP\&. .SS "template> reference \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::front ()\fC [inline]\fP" .PP Definition at line \fB471\fP of file \fBslist\fP\&. .SS "template> const_reference \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::front () const\fC [inline]\fP" .PP Definition at line \fB475\fP of file \fBslist\fP\&. .SS "template> allocator_type \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::get_allocator () const\fC [inline]\fP" .PP Definition at line \fB310\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert (iterator __pos)\fC [inline]\fP" .PP Definition at line \fB579\fP of file \fBslist\fP\&. .SS "template> template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert (iterator __pos, _InIterator __first, _InIterator __last)\fC [inline]\fP" .PP Definition at line \fB593\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert (iterator __pos, const value_type & __x)\fC [inline]\fP" .PP Definition at line \fB573\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert (iterator __pos, size_type __n, const value_type & __x)\fC [inline]\fP" .PP Definition at line \fB585\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert_after (iterator __pos)\fC [inline]\fP" .PP Definition at line \fB558\fP of file \fBslist\fP\&. .SS "template> template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert_after (iterator __pos, _InIterator __first, _InIterator __last)\fC [inline]\fP" .PP Definition at line \fB569\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert_after (iterator __pos, const value_type & __x)\fC [inline]\fP" .PP Definition at line \fB554\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::insert_after (iterator __pos, size_type __n, const value_type & __x)\fC [inline]\fP" .PP Definition at line \fB562\fP of file \fBslist\fP\&. .SS "template> size_type \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::max_size () const\fC [inline]\fP" .PP Definition at line \fB457\fP of file \fBslist\fP\&. .SS "template template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::merge (\fBslist\fP< _Tp, _Alloc > & __x, _StrictWeakOrdering __comp)" .PP Definition at line \fB975\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::merge (\fBslist\fP< _Tp, _Alloc > & __x)" .PP Definition at line \fB891\fP of file \fBslist\fP\&. .SS "template \fBslist\fP< _Tp, _Alloc > & \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::operator= (const \fBslist\fP< _Tp, _Alloc > & __x)" .PP Definition at line \fB728\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::pop_front ()\fC [inline]\fP" .PP Definition at line \fB487\fP of file \fBslist\fP\&. .SS "template> iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::previous (const_iterator __pos)\fC [inline]\fP" .PP Definition at line \fB497\fP of file \fBslist\fP\&. .SS "template> const_iterator \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::previous (const_iterator __pos) const\fC [inline]\fP" .PP Definition at line \fB502\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::push_front ()\fC [inline]\fP" .PP Definition at line \fB483\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::push_front (const value_type & __x)\fC [inline]\fP" .PP Definition at line \fB479\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::remove (const _Tp & __val)" .PP Definition at line \fB859\fP of file \fBslist\fP\&. .SS "template template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::remove_if (_Predicate __pred)" .PP Definition at line \fB941\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::resize (size_type new_size)\fC [inline]\fP" .PP Definition at line \fB628\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::resize (size_type new_size, const _Tp & __x)" .PP Definition at line \fB843\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::reverse ()\fC [inline]\fP" .PP Definition at line \fB691\fP of file \fBslist\fP\&. .SS "template> size_type \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::size () const\fC [inline]\fP" .PP Definition at line \fB453\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::sort" .PP Definition at line \fB910\fP of file \fBslist\fP\&. .SS "template template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::sort (_StrictWeakOrdering __comp)" .PP Definition at line \fB996\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice (iterator __pos, \fBslist\fP< _Tp, _Alloc > & __x)\fC [inline]\fP" .PP Definition at line \fB663\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice (iterator __pos, \fBslist\fP< _Tp, _Alloc > & __x, iterator __first, iterator __last)\fC [inline]\fP" .PP Definition at line \fB680\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice (iterator __pos, \fBslist\fP< _Tp, _Alloc > & __x, iterator __i)\fC [inline]\fP" .PP Definition at line \fB672\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice_after (iterator __pos, iterator __before_first, iterator __before_last)\fC [inline]\fP" .PP Definition at line \fB639\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice_after (iterator __pos, iterator __prev)\fC [inline]\fP" .PP Definition at line \fB650\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::splice_after (iterator __pos, \fBslist\fP< _Tp, _Alloc > & __x)\fC [inline]\fP" .PP Definition at line \fB658\fP of file \fBslist\fP\&. .SS "template> void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::swap (\fBslist\fP< _Tp, _Alloc > & __x)\fC [inline]\fP" .PP Definition at line \fB465\fP of file \fBslist\fP\&. .SS "template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::unique" .PP Definition at line \fB873\fP of file \fBslist\fP\&. .SS "template template void \fB__gnu_cxx::slist\fP< _Tp, _Alloc >::unique (_BinaryPredicate __pred)" .PP Definition at line \fB956\fP of file \fBslist\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.