From f7706caa40132403d6c92ee660dc37560d032af5 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 19 Jan 2015 18:43:46 +0100 Subject: Added type and value equality test case --- src/type.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src') 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::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; } -- cgit v1.2.3