#include <fixed_sorted_vector.hpp>
template<typename TKey, typename TValue, int TCapacity, bool TGrowOnOverflow, class TCompare = std::less<TKey>, class TAllocator = std::allocator>
class std::fixed_sorted_vector< TKey, TValue, TCapacity, TGrowOnOverflow, TCompare, TAllocator >
◆ allocator_type
◆ const_iterator
◆ iterator
◆ key_type
◆ mapped_type
◆ size_type
◆ value_type
◆ fixed_sorted_vector()
template<typename TKey , typename TValue , int TCapacity, bool TGrowOnOverflow, class TCompare = std::less<TKey>, class TAllocator = std::allocator>
sorted_vector(const allocator_type &allocator=allocator_type())
Definition: sorted_vector.hpp:76
◆ erase() [1/2]
136 return Base::erase(it);
◆ erase() [2/2]
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]
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]
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]
98 assert(it ==
end() || !m_compare(*it, val));
99 if (it ==
end() || m_compare(*it, val))
101 it = Base::insert(it, val);
105 return pair<iterator, bool>(it, !found);
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
◆ insert() [2/2]
pair<iterator, bool> std::sorted_vector< TKey, TValue, TCompare, TAllocator, fixed_vector_storage< pair< TKey, TValue >, TAllocator, TCapacity, TGrowOnOverflow > >::insert |
( |
const key_type & |
k, |
|
|
const mapped_type & |
v |
|
) |
| |
|
inlineinherited |
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]
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]
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]
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]
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: