diff options
Diffstat (limited to 'asl/meta.hpp')
-rw-r--r-- | asl/meta.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asl/meta.hpp b/asl/meta.hpp index 931310f..7372c3f 100644 --- a/asl/meta.hpp +++ b/asl/meta.hpp @@ -1,11 +1,15 @@ #pragma once
+#include "asl/integers.hpp"
+
namespace asl {
struct empty {};
template<typename T> struct id { using type = T; };
+template<typename... Args> static constexpr int64_t types_count = sizeof...(Args);
+
template<typename T, T kValue> struct integral_constant { static constexpr T value = kValue; };
template<bool B> using bool_constant = integral_constant<bool, B>;
|