template<typename Key, typename Mapped, class Eq_Fn = typename detail::default_eq_fn<Key>::type, class Update_Policy = detail::default_update_policy::type, class _Alloc = std::allocator<char>>
class __gnu_pbds::list_update< Key, Mapped, Eq_Fn, Update_Policy, _Alloc >
A list-update based associative container.
- Template Parameters
-
Key | Key type. |
Mapped | Map type. |
Eq_Fn | Equal functor. |
Update_Policy | Update policy, determines when an element will be moved to the front of the list. |
_Alloc | Allocator type. |
Base is detail::lu_map.
template<typename Key , typename Mapped , class Eq_Fn = typename detail::default_eq_fn<Key>::type, class Update_Policy = detail::default_update_policy::type, class _Alloc = std::allocator<char>>
template<typename It >
Constructor taking __iterators to a range of value_types.
The value_types between first_it and last_it will be inserted into the container object.