F14 hash map that keeps entries in a dense, index‐addressable vector.
Synopsis
Declared in <folly/container/F14Map.h>
template<
typename Key,
typename Mapped,
typename Hasher = f14::DefaultHasher<Key>,
typename KeyEqual = f14::DefaultKeyEqual<Key>,
typename Alloc = f14::DefaultAlloc<std::pair<Key const, Mapped>>>
class F14VectorMap;
Type Aliases
Name |
Description |
Const iterator type that traverses elements in reverse iteration order. |
|
Iterator type that traverses elements in reverse iteration order. |
Member Functions
Name |
Description |
|
Constructs an empty map. |
Replaces the contents with the elements of an initializer list. |
|
methodset Iterators |
|
methodset Iterators |
|
methodset Iterators |
|
Returns a const reverse iterator to the first element in reverse order. methodset Iterators |
|
Returns a const reverse iterator past the last element in reverse order. methodset Iterators |
|
methodset Iterators |
|
|
|
|
|
|
|
|
|
|
|
|
|
Swaps contained objects with another F14Map methodset Modifiers |
|
Visit contiguous ranges of elements. methodset Iterators |
Using Declarations
Protected Type Aliases
Name |
Deduction Guides
Name |
Description |
Deduction guide for F14VectorMap. |
|
|
Deduction guide for F14VectorMap. |
|
Deduction guide for F14VectorMap. |
Deduction guide for F14VectorMap. |
|
Deduction guide for F14VectorMap. |
|
Deduction guide for F14VectorMap. |
Friends
Name |
Description |
Returns a range that enumerates the map in order‐preserving reinsertion order. |
Non-Member Functions
Name |
Description |
Erases every element of the map for which the predicate returns true. |
|
Compares two maps for inequality. |
|
Compares two maps for equality. |
|
Swaps the contents of two maps. |
Created with MrDocs