#include <sorted_vector.hpp>
|
void | copy (const vector &rhs) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
size_type | size () const |
|
bool | empty () const |
|
size_type | capacity () const |
|
pair< TKey, TValue > * | data () |
|
const pair< TKey, TValue > * | data () const |
|
pair< TKey, TValue > & | front () |
|
const pair< TKey, TValue > & | front () const |
|
pair< TKey, TValue > & | back () |
|
const pair< TKey, TValue > & | back () const |
|
pair< TKey, TValue > & | operator[] (size_type i) |
|
const pair< TKey, TValue > & | operator[] (size_type i) const |
|
pair< TKey, TValue > & | at (size_type i) |
|
const pair< TKey, TValue > & | at (size_type i) const |
|
void | push_back (const pair< TKey, TValue > &v) |
|
void | push_back () |
|
void | pop_back () |
|
void | assign (const pair< TKey, TValue > *first, const pair< TKey, TValue > *last) |
|
void | insert (size_type index, size_type n, const pair< TKey, TValue > &val) |
|
void | insert (iterator it, size_type n, const pair< TKey, TValue > &val) |
|
iterator | insert (iterator it, const pair< TKey, TValue > &val) |
|
iterator | erase (iterator first, iterator last) |
|
void | erase_unostdred (iterator it) |
|
void | resize (size_type n) |
|
void | reserve (size_type n) |
|
void | clear () |
|
void | reset () |
|
void | set_capacity (size_type newCapacity) |
|
size_type | index_of (const pair< TKey, TValue > &item, size_type index=0) const |
|
iterator | find (const pair< TKey, TValue > &item) |
|
const allocator_type & | get_allocator () const |
|
void | set_allocator (const allocator_type &allocator) |
|
bool | validate_iterator (const_iterator it) const |
|
size_type | get_high_watermark () const |
|
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
class std::sorted_vector< TKey, TValue, TCompare, TAllocator, TStorage >
◆ allocator_type
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ const_iterator
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ iterator
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ key_type
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ mapped_type
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ size_type
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ value_type
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ sorted_vector() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
◆ sorted_vector() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
template<class InputIterator >
82 : Base(first, last, allocator)
iterator begin()
Definition: vector.hpp:181
void quick_sort(T *begin, T *end, TPredicate pred)
Definition: sort.hpp:121
iterator end()
Definition: vector.hpp:189
◆ erase() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator erase(iterator it)
Definition: vector.hpp:386
◆ erase() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator erase(iterator it)
Definition: sorted_vector.hpp:133
Base::iterator iterator
Definition: sorted_vector.hpp:72
iterator find(const key_type &k)
Definition: sorted_vector.hpp:112
iterator end()
Definition: vector.hpp:189
◆ find() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
116 if (i !=
end() && m_compare(k, *i))
Base::iterator iterator
Definition: sorted_vector.hpp:72
iterator lower_bound(const key_type &k)
Definition: sorted_vector.hpp:152
iterator end()
Definition: vector.hpp:189
◆ find() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
126 if (i !=
end() && m_compare(k, *i))
Base::const_iterator const_iterator
Definition: sorted_vector.hpp:73
iterator lower_bound(const key_type &k)
Definition: sorted_vector.hpp:152
iterator end()
Definition: vector.hpp:189
◆ insert() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
98 assert(it ==
end() || !m_compare(*it, val));
99 if (it ==
end() || m_compare(*it, val))
105 return pair<iterator, bool>(it, !found);
Base::iterator iterator
Definition: sorted_vector.hpp:72
void insert(size_type index, size_type n, const pair< TKey, TValue > &val)
Definition: vector.hpp:307
iterator lower_bound(const key_type &k)
Definition: sorted_vector.hpp:152
iterator end()
Definition: vector.hpp:189
◆ insert() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
pair< iterator, bool > insert(const value_type &val)
Definition: sorted_vector.hpp:93
Base::value_type value_type
Definition: sorted_vector.hpp:71
◆ lower_bound() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator begin()
Definition: vector.hpp:181
TIter lower_bound(TIter first, TIter last, const T &val, const TPred &pred)
Definition: algorithm.hpp:119
iterator end()
Definition: vector.hpp:189
◆ lower_bound() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator begin()
Definition: vector.hpp:181
TIter lower_bound(TIter first, TIter last, const T &val, const TPred &pred)
Definition: algorithm.hpp:119
iterator end()
Definition: vector.hpp:189
◆ upper_bound() [1/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator begin()
Definition: vector.hpp:181
TIter upper_bound(TIter first, TIter last, const T &val, const TPred &pred)
Definition: algorithm.hpp:136
iterator end()
Definition: vector.hpp:189
◆ upper_bound() [2/2]
template<typename TKey, typename TValue, class TCompare = std::less<TKey>, class TAllocator = std::allocator, class TStorage = std::standard_vector_storage<pair<TKey, TValue>, TAllocator>>
iterator begin()
Definition: vector.hpp:181
TIter upper_bound(TIter first, TIter last, const T &val, const TPred &pred)
Definition: algorithm.hpp:136
iterator end()
Definition: vector.hpp:189
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: