__gnu_pbds::list_update.3cxx
Contents
Constructor & Destructor Documentation
template<typenameKey,typenameMapped,classEq_Fn=typenamedetail::default_eq_fn<Key>::type,classUpdate_Policy=detail::default_update_policy::type,class_Alloc=std::allocator<char>>template<typenameIt>__gnu_pbds::list_update<Key,Mapped,Eq_Fn,Update_Policy,_Alloc>::list_update(Itfirst,Itlast)[inline]
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.
Detailed Description
template<typenameKey,typenameMapped,classEq_Fn=typenamedetail::default_eq_fn<Key>::type,classUpdate_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.
TemplateParametersKey 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.
Name
__gnu_pbds::list_update< Key, Mapped, Eq_Fn, Update_Policy, _Alloc >
Synopsis
#include <assoc_container.hpp>
Inherits detail::container_base_dispatch::type.
PublicTypes
typedef list_update_tagcontainer_category
typedef Eq_Fn eq_fn
typedef Update_Policy update_policyPublicMemberFunctionslist_update (const list_update &other)
template<typename It > list_update (It first, It last)
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.
list_update & operator= (const list_update &other)
void swap (list_update &other)
