acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
attrib_map.h
1
#pragma once
2
3
4
#include "acme/prototype/collection/map.h"
5
#include "acme/prototype/prototype/atom.h"
6
7
8
namespace
acme
9
{
10
11
12
namespace
map_base
13
{
14
15
16
template
<
class
MAP >
17
MAP & copy(MAP & m,
const
MAP & attribmap)
18
{
19
20
if
(&m != &attribmap)
21
{
22
23
m.erase_all();
24
25
for
(
auto
& pair : attribmap)
26
{
27
28
m.set_at(pair.element1(), pair.element2());
29
30
}
31
32
}
33
34
return
m;
35
36
}
37
38
39
}
// namespace map_base
40
41
42
}
// namespace acme
43
44
45
46
using
procedure_map = ::atom_map_base < ::procedure_array >;
47
48
49
50
51
52
53
acme
include "aura/graphics/image/context.h"
Definition
aaaa__defer.h:32
prototype
collection
attrib_map.h
Generated by
1.17.0