aboutsummaryrefslogtreecommitdiff
path: root/src/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/type.h')
-rw-r--r--src/type.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/type.h b/src/type.h
index 74e0650..0bcf272 100644
--- a/src/type.h
+++ b/src/type.h
@@ -18,19 +18,16 @@ template <
typename X,
typename Y
>
-using equal_type = typename std::integral_constant<
- bool,
- std::is_same<typename X::value_type, typename Y::value_type>::value
+using EqualType = typename std::is_same<
+ typename X::value_type,
+ typename Y::value_type
>::type;
template <
typename X,
typename Y
>
-using equal_value = typename std::integral_constant<
- bool,
- X::value == Y::value
->::type;
+using EqualValue = Boolean<X::value == Y::value>;
}