From 8b0d1c5296c22ce28fd0c8f9b251308b7bbf3090 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 24 Jan 2015 15:24:19 +0100 Subject: Added `Modulo` math operator * redefined `Even` in terms of `Modulo` and removed unnecessary dependent name declarators * added appropriate test case, also for `Square` --- src/type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/type.h') diff --git a/src/type.h b/src/type.h index 0bcf272..76a1aae 100644 --- a/src/type.h +++ b/src/type.h @@ -6,13 +6,13 @@ namespace tav { template -using Int = typename std::integral_constant::type; +using Int = std::integral_constant; template -using Size = typename std::integral_constant::type; +using Size = std::integral_constant; template -using Boolean = typename std::integral_constant::type; +using Boolean = std::integral_constant; template < typename X, -- cgit v1.2.3