logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_pbds::list_update.3cxx

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libst__gnu_pbds::list_update...Update_Policy,_Alloc>(3cxx)

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)

See Also