Broom
1.0.0
A thread-local C++ Garbage Collector
Loading...
Searching...
No Matches
include
broom-multiset.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <set>
4
5
#include "
broom.h
"
6
#include "impl/broom-containers.h"
7
8
#define MULTISET_METHODS(X_) \
9
CPP11_MULTISET_METHODS(X_) \
10
CPP14_MULTISET_METHODS(X_) \
11
CPP17_MULTISET_METHODS(X_) \
12
CPP20_MULTISET_METHODS(X_) \
13
CPP23_MULTISET_METHODS(X_)
14
15
namespace
broom
{
26
// XXX(gc): Implement via forwarding instead?
27
template
<
typename
T,
typename
Compare = std::less<T>,
28
typename
Allocator = std::allocator<T>>
29
class
multiset
:
private
std::multiset<T, Compare, Allocator>,
30
public
BroomValue
{
31
using
Base = std::multiset<T, Compare, Allocator>;
32
33
public
:
34
DEF_TYPES()
35
DEF_CONSTRUCTOR
(
multiset
)
36
DEF_IL_CONSTRUCTOR
(
multiset
)
37
DEF_METHODS
(
multiset
)
38
DEF_SINGLE_VISIT
(T)
39
MULTISET_METHODS
(
USE_METHODS
)
40
};
41
}
// namespace broom
42
43
#undef MULTISET_METHODS
44
45
#include "impl/broom-undef.h"
MULTISET_METHODS
#define MULTISET_METHODS(X_)
Definition
broom-multiset.h:8
broom.h
broom::BroomValue
Definition
broom.h:402
broom::multiset
Definition
broom-multiset.h:30
broom
Definition
allocator-inl.h:9
broom::queue
std::queue< T, broom::deque< T > > queue
Definition
broom-queue.h:12
Generated by
1.9.8