diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/operation/math.h | 8 |
1 files 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; |