DDD
1.9.0.20250409152518
util
set.hh
Go to the documentation of this file.
1
#ifndef _SET_HH_
2
#define _SET_HH_
3
4
#include <set>
5
6
#include "
ddd/util/configuration.hh
"
7
8
namespace
d3
{
9
10
template
11
<
12
typename
Key
13
,
typename
Compare = std::less<Key>
14
,
typename
Allocator =
typename
conf::allocator<Key>::type
15
>
16
struct
set
17
{
18
typedef
typename
std::set<Key,Compare,Allocator>
type
;
19
};
20
21
22
template
23
<
24
typename
Key
25
,
typename
Compare = std::less<Key>
26
,
typename
Allocator =
typename
conf::allocator<Key>::type
27
>
28
struct
multiset
29
{
30
typedef
typename
std::multiset<Key,Compare,Allocator>
type
;
31
};
32
33
34
35
36
}
// namespace d3
37
38
#endif
/* _SET_HH_ */
configuration.hh
d3
Definition
Hom.cpp:41
conf::allocator::type
std::allocator< T > type
Definition
configuration.hh:39
d3::multiset
Definition
set.hh:29
d3::multiset::type
std::multiset< Key, Compare, Allocator > type
Definition
set.hh:30
d3::set
Definition
set.hh:17
d3::set::type
std::set< Key, Compare, Allocator > type
Definition
set.hh:18
Please
comment
this page and
report errors
about it on
the RefDocComments page
.
Generated on Wed Apr 9 2025 15:27:42 for DDD by
1.9.8