diff options
Diffstat (limited to 'src/type.h')
-rw-r--r-- | src/type.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -20,6 +20,15 @@ using equal_type = typename std::integral_constant< std::is_same<typename X::value_type, typename Y::value_type>::value >::type; +template < + typename X, + typename Y +> +using equal_value = typename std::integral_constant< + bool, + X::value == Y::value +>::type; + } #endif // TYPEASVALUE_SRC_TYPE_H_ |