aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/deps/rpclib/include/rpc/detail/bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/deps/rpclib/include/rpc/detail/bool.h')
-rw-r--r--host/lib/deps/rpclib/include/rpc/detail/bool.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/host/lib/deps/rpclib/include/rpc/detail/bool.h b/host/lib/deps/rpclib/include/rpc/detail/bool.h
new file mode 100644
index 000000000..65f37d371
--- /dev/null
+++ b/host/lib/deps/rpclib/include/rpc/detail/bool.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#ifndef BOOL_H_QLG6S5XZ
+#define BOOL_H_QLG6S5XZ
+
+#include "rpc/detail/constant.h"
+
+namespace rpc {
+namespace detail {
+
+template<bool B>
+using bool_ = constant<bool, B>;
+
+using true_ = bool_<true>;
+
+using false_ = bool_<false>;
+
+}
+}
+
+#endif /* end of include guard: BOOL_H_QLG6S5XZ */