xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
collections
generic
sorted_dictionary.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
helpers/allocator.hpp
"
6
#include "
helpers/lesser.hpp
"
7
#include "
dictionary.hpp
"
8
#include <map>
9
11
namespace
xtd
{
13
namespace
collections
{
15
namespace
generic
{
36
template
<
typename
key_t,
typename
value_t,
typename
lesser_t = helpers::lesser<key_t>,
typename
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
}
allocator.hpp
Contains xtd::collections::generic::helpers::allocator alias.
dictionary.hpp
Contains xtd::collections::generic::dictionary <key_t, value_t> class.
xtd::collections::generic::sorted_dictionary
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
lesser.hpp
Contains xtd::collections::generic::helpers::lesser struct.
xtd::collections::generic
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition
comparer.hpp:16
xtd::collections
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition
any_pair.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.