xtd 0.2.0
Loading...
Searching...
No Matches
dictionary.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "helpers/equator.hpp"
7#include "helpers/hasher.hpp"
8#include <unordered_set>
9
11namespace xtd {
13 namespace collections {
15 namespace generic {
35 template<typename key_t, typename value_t>
36 using dictionary = std::unordered_map<key_t, value_t, helpers::hasher<key_t>, helpers::equator<key_t>, helpers::allocator<std::pair<const key_t, value_t>>>;
37 }
38 }
39}
Contains xtd::collections::generic::helpers::allocator alias.
Contains xtd::collections::generic::helpers::equator struct.
std::unordered_map< key_t, value_t, helpers::hasher< key_t >, helpers::equator< key_t >, helpers::allocator< std::pair< const key_t, value_t > > > dictionary
Represents a collection of keys and values.
Definition dictionary.hpp:36
std::allocator< type_t > allocator
Represent an allocator alias.
Definition allocator.hpp:35
Contains xtd::collections::generic::helpers::hasher struct.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Implements a function object for performing comparisons. Unless specialised, invokes operator== on ty...
Definition equator.hpp:37