![]() |
|
![]() |
||||||
| Â |
// access mapped_type& operator[](const key_type& k); mapped_type& at(const key_type& k); // iterators iterator begin(); iterator end(); avl_map(); ~avl_map(); // lookup iterator find(const key_type& k); bool contains(const key_type& k) const; // modifiers std::pair<iterator, bool> insert(const value_type& v); size_t erase(const key_type& k); void clear(); template<typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<std::pair<const Key, Value>>> class avl_map { public: using key_type = Key; using mapped_type = Value; using value_type = std::pair<const Key, Value>; Avl Boost Tutorial Upd Link// access mapped_type& operator[](const key_type& k); mapped_type& at(const key_type& k); // iterators iterator begin(); iterator end(); avl boost tutorial upd avl_map(); ~avl_map(); // lookup iterator find(const key_type& k); bool contains(const key_type& k) const; // access mapped_type& operator[](const key_type& k) // modifiers std::pair<iterator, bool> insert(const value_type& v); size_t erase(const key_type& k); void clear(); mapped_type& at(const key_type& k) template<typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<std::pair<const Key, Value>>> class avl_map { public: using key_type = Key; using mapped_type = Value; using value_type = std::pair<const Key, Value>; |
 | ||||||
| Â |
|