Skip to content

Commit b61b3d5

Browse files
committed
Update sorted_dictionary.hpp
1 parent 38c3701 commit b61b3d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/xtd.core/include/xtd/collections/generic/sorted_dictionary.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#pragma once
55
#include "helpers/allocator.hpp"
66
#include "helpers/comparer.hpp"
7+
#include "dictionary.hpp" /// @todo remove when sorted_dictionay is developped.
78
#include <map>
89

910
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
@@ -33,7 +34,8 @@ namespace xtd {
3334
/// The following shows how to use xtd::collections::generic::sorted_dictionary.
3435
/// @include sorted_dictionary.cpp
3536
template<class key_t, class value_t>
36-
using sorted_dictionary = std::map<key_t, value_t, helpers::comparer<key_t>, helpers::allocator<std::pair<const key_t, value_t>>>;
37+
using sorted_dictionary = dictionary<key_t, value_t>;
38+
//using sorted_dictionary = std::map<key_t, value_t, helpers::comparer<key_t>, helpers::allocator<std::pair<const key_t, value_t>>>;
3739
}
3840
}
3941
}

0 commit comments

Comments
 (0)