__gnu_pbds::list_update(3cxx)

__gnu_pbds::list_update3cxx

Usage

#include <assoc_container.hpp>

Inherits detail::container_base_dispatch::type.

Public Types

typedef list_update_tag container_category
typedef Eq_Fn eq_fn
typedef Update_Policy update_policy

Public Member Functions

list_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)

Detailed Description

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.

Constructor & Destructor Documentation

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 > __gnu_pbds::list_update< Key, Mapped, Eq_Fn, Update_Policy, _Alloc >::list_update (It first, It last) [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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.