1 //
2 // OrderedSet.h
3 //
4 // Library: Foundation
5 // Package: Core
6 // Module:  OrderedSet
7 //
8 // Definition of the OrderedSet class template.
9 //
10 // Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
11 // and Contributors.
12 //
13 // SPDX-License-Identifier:	BSL-1.0
14 //
15 
16 
17 #ifndef Foundation_OrderedSet_INCLUDED
18 #define Foundation_OrderedSet_INCLUDED
19 
20 
21 #include "Poco/Foundation.h"
22 
23 
24 #ifdef min
25 #undef min
26 #endif
27 #ifdef max
28 #undef max
29 #endif
30 #include "Poco/ordered_hash.h"
31 #include "Poco/ordered_set.h"
32 
33 
34 namespace Poco {
35 
36 
37 template<class Key,
38 		class Hash = std::hash<Key>,
39 		class KeyEqual = std::equal_to<Key>,
40 		class Allocator = std::allocator<Key>,
41 		class ValueTypeContainer = std::deque<Key, Allocator>>
42 using OrderedSet = tsl::ordered_set<Key, Hash, KeyEqual, Allocator, ValueTypeContainer>;
43 	/// For documentation, see https://tessil.github.io/ordered-map/
44 
45 } // namespace Poco
46 
47 
48 #endif // Foundation_OrderedSet_INCLUDED
49