xtd 0.2.0
Loading...
Searching...
No Matches
dictionary.h
Go to the documentation of this file.
1
4#pragma once
5#include "helpers/allocator.h"
6#include "helpers/equator.h"
7#include "helpers/hasher.h"
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.h:36
std::allocator< type_t > allocator
Represent an allocator alias.
Definition allocator.h:35
Contains xtd::collections::generic::helpers::hasher struct.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Implements a function object for performing comparisons. Unless specialised, invokes operator== on ty...
Definition equator.h:37