summaryrefslogtreecommitdiff
path: root/src/store_flag.hpp
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-06-22 10:13:59 +0200
committerBardur Arantsson <bardur@scientician.net>2016-06-22 10:27:06 +0200
commite3cd14d9d6d0e90bae7864025e5b2865c045ef96 (patch)
treecb8aaebe606c82891aa4a673f4bc28da8a20647f /src/store_flag.hpp
parent7bbfa3f27a97c6e0546f53a3254de38e513ed334 (diff)
Rework SF1_* flags to flag_set<>
Diffstat (limited to 'src/store_flag.hpp')
-rw-r--r--src/store_flag.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/store_flag.hpp b/src/store_flag.hpp
new file mode 100644
index 00000000..6844bd84
--- /dev/null
+++ b/src/store_flag.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "store_flag_set.hpp"
+#include <boost/preprocessor/cat.hpp>
+
+//
+// Define flag set for each flag.
+//
+#define STF(tier, index, name) \
+ DECLARE_FLAG(store_flag_set, BOOST_PP_CAT(STF_,name), tier, index)
+#include "store_flag_list.hpp"
+#undef STF