acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
map.h
1
#pragma once
2
3
4
// namespace acme
5
// {
6
7
8
// namespace map_base
9
// {
10
11
12
// template < typename MAP, typename PAYLOAD >
13
// inline bool contains_payload(const MAP & map_base, const PAYLOAD & payload);
14
15
16
// } // namespace map_base
17
18
19
// } // namespace acme
20
21
22
23
24
25
26
// namespace acme
27
// {
28
29
30
31
// namespace map_base
32
// {
33
34
35
// template < typename MAP, typename PAYLOAD >
36
// inline contains_payload(const MAP & map_base, const PAYLOAD & payload)
37
// {
38
39
// if (&m != &attribmap)
40
// {
41
42
// m.erase_all();
43
44
// const typename MAP::pair * iterator = attribmap.get_start();
45
46
// while (iterator != nullptr)
47
// {
48
49
// m.set_at(iterator->element1(), iterator->element2());
50
51
// iterator = attribmap.get_next(iterator);
52
53
// }
54
55
// }
56
57
// return m;
58
59
// }
60
61
62
// } // namespace map_base
63
64
65
// } // namespace acme
66
67
68
map.h
Generated by
1.17.0