From 5ead1bfab50ef7b3f746f298c53788c833f03ce4 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 16 Jan 2015 22:00:12 +0100 Subject: Capitalized math operations to fit naming scheme --- src/operation/math.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/operation/math.h b/src/operation/math.h index 82740b6..fd6e031 100644 --- a/src/operation/math.h +++ b/src/operation/math.h @@ -9,7 +9,7 @@ template < typename X, typename Y > -using add = typename std::integral_constant< +using Add = typename std::integral_constant< decltype(X::value + Y::value), X::value + Y::value >::type; @@ -18,7 +18,7 @@ template < typename X, typename Y > -using substract = typename std::integral_constant< +using Substract = typename std::integral_constant< decltype(X::value - Y::value), X::value - Y::value >::type; @@ -27,7 +27,7 @@ template < typename X, typename Y > -using multiply = typename std::integral_constant< +using Multiply = typename std::integral_constant< decltype(X::value * Y::value), X::value * Y::value >::type; @@ -36,7 +36,7 @@ template < typename X, typename Y > -using divide = typename std::integral_constant< +using Divide = typename std::integral_constant< decltype(X::value / Y::value), X::value / Y::value >::type; -- cgit v1.2.3