tree-gen
C++ code generator for tree structures
include
tree-default-config.hpp.inc
Go to the documentation of this file.
1
6
#ifndef TREE_NAMESPACE_BEGIN
7
#define TREE_NAMESPACE_BEGIN namespace tree {
9
#endif
10
11
#ifndef TREE_NAMESPACE_END
12
#define TREE_NAMESPACE_END }
14
#endif
15
16
#ifndef TREE_VECTOR
17
#define TREE_VECTOR(V) std::vector<V>
19
#endif
20
21
#ifndef TREE_MAP
22
#define TREE_MAP(K, V) std::map<K, V>
24
#endif
25
26
#ifndef TREE_MAP_SET
27
#define TREE_MAP_SET(m, k, v) (m)[k] = (v)
29
#endif
30
31
#ifndef TREE_RUNTIME_ERROR
32
#define TREE_RUNTIME_ERROR std::runtime_error
34
#endif
35
36
#ifndef TREE_RANGE_ERROR
37
#define TREE_RANGE_ERROR std::out_of_range
39
#endif
Generated by
1.8.13