xtd 0.2.0
sorted_dictionary.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "helpers/lesser.hpp"
7#include "dictionary.hpp"
8#include <map>
9
11namespace xtd {
13 namespace collections {
15 namespace generic {
36 template<class key_t, class value_t, class lesser_t = helpers::lesser<key_t>, class allocator_t = helpers::allocator<std::pair<const key_t, value_t>>>
37 //using sorted_dictionary = dictionary<key_t, value_t, helpers::hasher<key_t>, helpers::equator<key_t>, allocator_t>;
38 using sorted_dictionary = std::map<key_t, value_t, lesser_t, allocator_t>;
39 }
40 }
41}
Contains xtd::collections::generic::helpers::allocator alias.
Contains xtd::collections::generic::dictionary <key_t, value_t> class.
std::map< key_t, value_t, lesser_t, allocator_t > sorted_dictionary
Represents a collection of key/value pairs that are sorted on the key.
Definition sorted_dictionary.hpp:38
Contains xtd::collections::generic::helpers::lesser struct.
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.hpp:16
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition any_pair.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8