|
ADS
Algorithms and Data Structures
|
the sequence \( S \) of ADS, which inserts and erases by rank, with the members by iterator of a SequenceContainer, each one call of insert( i , x ) or erase( i ) of \( S \) at the rank \( i \) of the iterator More...
#include <ADS/interop/std/FlatMap.h>
Public types | |
| using | value_type = typename S::value_type |
| the items | |
| using | reference = value_type & |
| a reference to an item | |
| using | const_reference = const value_type & |
| to a constant item | |
| using | size_type = std::size_t |
| the sizes | |
| using | difference_type = std::ptrdiff_t |
| the distances | |
| using | iterator = typename S::iterator |
| the iterator | |
| using | const_iterator = typename S::const_iterator |
| the constant one | |
Public member functions | |
| StdSequence (void)=default | |
| the empty sequence | |
| template<std::input_iterator I, std::sentinel_for< I > E> | |
| StdSequence (I first, E last) | |
| the items of \( [ \mathit{first} , \mathit{last} ) \), in their order | |
| const_iterator | cbegin (void) const |
| the constant iterator on the first item | |
| const_iterator | cend (void) const |
| the constant iterator past the last item | |
| iterator | insert (const_iterator p, const value_type &x) |
| \( x \) before the item of \( p \); an iterator on \( x \) | |
| template<std::input_iterator I, std::sentinel_for< I > E> | |
| iterator | insert (const_iterator p, I first, E last) |
| the items of \( [ \mathit{first} , \mathit{last} ) \) before the item of \( p \), in their order; an iterator on the first of them | |
| template<class... A> | |
| iterator | emplace (const_iterator p, A &&... a) |
| an item built from \( a \) before the item of \( p \) | |
| template<class... A> | |
| reference | emplace_back (A &&... a) |
| an item built from \( a \) at the end | |
| iterator | erase (const_iterator p) |
| the item of \( p \) removed; an iterator on the item after it | |
| iterator | erase (const_iterator first, const_iterator last) |
| the items of \( [ \mathit{first} , \mathit{last} ) \) removed; an iterator on the item after them | |
the sequence \( S \) of ADS, which inserts and erases by rank, with the members by iterator of a SequenceContainer, each one call of insert( i , x ) or erase( i ) of \( S \) at the rank \( i \) of the iterator
| using ADS::StdSequence< S >::const_iterator = typename S::const_iterator |
the constant one
| using ADS::StdSequence< S >::const_reference = const value_type & |
to a constant item
| using ADS::StdSequence< S >::difference_type = std::ptrdiff_t |
the distances
| using ADS::StdSequence< S >::iterator = typename S::iterator |
the iterator
| using ADS::StdSequence< S >::reference = value_type & |
a reference to an item
| using ADS::StdSequence< S >::size_type = std::size_t |
the sizes
| using ADS::StdSequence< S >::value_type = typename S::value_type |
the items
|
default |
the empty sequence
|
inline |
the items of \( [ \mathit{first} , \mathit{last} ) \), in their order
|
inlinenodiscard |
the constant iterator on the first item
|
inlinenodiscard |
the constant iterator past the last item
|
inline |
an item built from \( a \) before the item of \( p \)
|
inline |
an item built from \( a \) at the end
|
inline |
the items of \( [ \mathit{first} , \mathit{last} ) \) removed; an iterator on the item after them
|
inline |
the item of \( p \) removed; an iterator on the item after it
|
inline |
\( x \) before the item of \( p \); an iterator on \( x \)
|
inline |
the items of \( [ \mathit{first} , \mathit{last} ) \) before the item of \( p \), in their order; an iterator on the first of them