|
| map (const Compare &comp, const Allocator &alloc=Allocator()) |
|
template<class InputIterator > |
| map (InputIterator first, InputIterator last, const Compare &comp=Compare(), const Allocator &alloc=Allocator()) |
|
template<class R , class = enable_if_t<Internal::container_compatible_range<R, value_type>>> |
| map (from_range_t, R &&rg, const Compare &comp=Compare(), const Allocator &alloc=Allocator()) |
|
| map (const map &rhs) |
|
| map (map &&rhs) |
|
| map (const Allocator &alloc) |
|
| map (const map &rhs, const type_identity_t< Allocator > &alloc) |
|
| map (map &&rhs, const type_identity_t< Allocator > &alloc) |
|
| map (initializer_list< value_type > list, const Compare &comp=Compare(), const Allocator &alloc=Allocator()) |
|
template<class InputIterator > |
| map (InputIterator first, InputIterator last, const Allocator &alloc) |
|
template<class R , class = enable_if_t<Internal::container_compatible_range<R, value_type>>> |
| map (from_range_t, R &&rg, const Allocator &a) |
|
| map (initializer_list< value_type > il, const Allocator &a) |
|
AZ_FORCE_INLINE this_type & | operator= (const this_type &rhs) |
|
AZ_FORCE_INLINE key_compare | key_comp () const |
|
AZ_FORCE_INLINE value_compare | value_comp () const |
|
AZ_FORCE_INLINE iterator | begin () |
|
AZ_FORCE_INLINE iterator | end () |
|
AZ_FORCE_INLINE const_iterator | begin () const |
|
AZ_FORCE_INLINE const_iterator | end () const |
|
AZ_FORCE_INLINE reverse_iterator | rbegin () |
|
AZ_FORCE_INLINE reverse_iterator | rend () |
|
AZ_FORCE_INLINE const_reverse_iterator | rbegin () const |
|
AZ_FORCE_INLINE const_reverse_iterator | rend () const |
|
AZ_FORCE_INLINE bool | empty () const |
|
AZ_FORCE_INLINE size_type | size () const |
|
AZ_FORCE_INLINE size_type | max_size () const |
|
MappedType & | operator[] (const key_type &key) |
|
MappedType & | operator[] (key_type &&key) |
|
AZ_FORCE_INLINE void | swap (this_type &rhs) |
|
AZ_FORCE_INLINE pair< iterator, bool > | insert (const value_type &value) |
|
AZ_FORCE_INLINE iterator | insert (const_iterator insertPos, const value_type &value) |
|
template<class InputIterator > |
void | insert (InputIterator first, InputIterator last) |
|
template<class R > |
auto | insert_range (R &&rg) -> enable_if_t< Internal::container_compatible_range< R, value_type > > |
|
AZ_FORCE_INLINE iterator | erase (const_iterator erasePos) |
|
AZ_FORCE_INLINE size_type | erase (const key_type &key) |
|
AZ_FORCE_INLINE iterator | erase (const_iterator first, const_iterator last) |
|
AZ_FORCE_INLINE void | clear () |
|
this_type & | operator= (this_type &&rhs) |
|
AZStd::pair< iterator, bool > | insert (value_type &&value) |
|
iterator | insert (const_iterator insertPos, value_type &&value) |
|
template<class ... InputArguments> |
AZStd::pair< iterator, bool > | emplace (InputArguments &&... arguments) |
|
template<class ... InputArguments> |
iterator | emplace_hint (const_iterator insertPos, InputArguments &&... arguments) |
|
insert_return_type | insert (node_type &&nodeHandle) |
|
iterator | insert (const_iterator hint, node_type &&nodeHandle) |
|
template<typename M > |
pair< iterator, bool > | insert_or_assign (const key_type &key, M &&value) |
|
template<typename M > |
pair< iterator, bool > | insert_or_assign (key_type &&key, M &&value) |
|
template<typename M > |
iterator | insert_or_assign (const_iterator hint, const key_type &key, M &&value) |
|
template<typename M > |
iterator | insert_or_assign (const_iterator hint, key_type &&key, M &&value) |
|
template<typename... Args> |
pair< iterator, bool > | try_emplace (const key_type &key, Args &&... arguments) |
|
template<typename... Args> |
pair< iterator, bool > | try_emplace (key_type &&key, Args &&... arguments) |
|
template<typename... Args> |
iterator | try_emplace (const_iterator hint, const key_type &key, Args &&... arguments) |
|
template<typename... Args> |
iterator | try_emplace (const_iterator hint, key_type &&key, Args &&... arguments) |
|
node_type | extract (const key_type &key) |
|
node_type | extract (const_iterator it) |
|
const_iterator | find (const key_type &key) const |
|
iterator | find (const key_type &key) |
|
bool | contains (const key_type &key) const |
|
size_type | count (const key_type &key) const |
|
iterator | lower_bound (const key_type &key) |
|
const_iterator | lower_bound (const key_type &key) const |
|
iterator | upper_bound (const key_type &key) |
|
const_iterator | upper_bound (const key_type &key) const |
|
pair< iterator, iterator > | equal_range (const key_type &key) |
|
pair< const_iterator, const_iterator > | equal_range (const key_type &key) const |
|
template<typename ComparableToKey > |
auto | find (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, const_iterator > |
|
template<typename ComparableToKey > |
auto | find (const ComparableToKey &key) -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, iterator > |
|
template<typename ComparableToKey > |
auto | contains (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, bool > |
|
template<typename ComparableToKey > |
auto | count (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, size_type > |
|
template<typename ComparableToKey > |
auto | lower_bound (const ComparableToKey &key) -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, iterator > |
|
template<typename ComparableToKey > |
auto | lower_bound (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, const_iterator > |
|
template<typename ComparableToKey > |
auto | upper_bound (const ComparableToKey &key) -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, iterator > |
|
template<typename ComparableToKey > |
auto | upper_bound (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, const_iterator > |
|
template<typename ComparableToKey > |
auto | equal_range (const ComparableToKey &key) -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, pair< iterator, iterator > > |
|
template<typename ComparableToKey > |
auto | equal_range (const ComparableToKey &key) const -> enable_if_t< Internal::is_transparent< key_compare, ComparableToKey >::value, pair< const_iterator, const_iterator > > |
|
|
|
AZ_FORCE_INLINE pair< iterator, bool > | insert (const key_type &key) |
|
AZ_FORCE_INLINE allocator_type & | get_allocator () |
|
AZ_FORCE_INLINE const allocator_type & | get_allocator () const |
|
AZ_FORCE_INLINE void | set_allocator (const allocator_type &allocator) |
| Set the vector allocator. If different than then current all elements will be reallocated.
|
|
AZ_INLINE bool | validate () const |
|
AZ_INLINE int | validate_iterator (const const_iterator &iter) const |
| Validates an iter iterator. Returns a combination of iterator_status_flag.
|
|
AZ_INLINE int | validate_iterator (const iterator &iter) const |
|
AZ_FORCE_INLINE void | leak_and_reset () |
|
template<class Key, class MappedType, class Compare = AZStd::less<Key>, class Allocator = AZStd::allocator>
class AZStd::map< Key, MappedType, Compare, Allocator >
Ordered map container is complaint with C++0x (23.4.1) This is an associative container, all keys are unique. insert function will return false, if you try to add key that is in the set.
Check the set AZStdExamples.