diff --git a/dxlibex/basic_types/bel.hpp b/dxlibex/basic_types/bel.hpp index 19f4a01..6ec533a 100644 --- a/dxlibex/basic_types/bel.hpp +++ b/dxlibex/basic_types/bel.hpp @@ -164,7 +164,7 @@ namespace dxle { } template - constexpr common_type_t, bel_c> + DXLE_CONSTEXPR common_type_t, bel_c> operator+(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; @@ -174,7 +174,7 @@ namespace dxle { } template - constexpr common_type_t, bel_c> + DXLE_CONSTEXPR common_type_t, bel_c> operator-(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; @@ -193,7 +193,7 @@ namespace dxle { } template - constexpr bel_c, _Period> + DXLE_CONSTEXPR bel_c, _Period> operator*(const bel_c& b, const T2& r) { typedef bel_c, _Period> result_t; @@ -201,14 +201,14 @@ namespace dxle { } template - constexpr bel_c, _Period> + DXLE_CONSTEXPR bel_c, _Period> operator*(const T1& r, const bel_c& b) { return b * r; } template - constexpr bel_c::value, T2>>, _Period> + DXLE_CONSTEXPR bel_c::value, T2>>, _Period> operator/(const bel_c& b, const T2& r) { typedef bel_c, _Period> result_t; @@ -216,7 +216,7 @@ namespace dxle { } template - constexpr common_type_t + DXLE_CONSTEXPR common_type_t operator/(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; @@ -227,7 +227,7 @@ namespace dxle { // DR 934. template - constexpr bel_c::value, T2>>, _Period> + DXLE_CONSTEXPR bel_c::value, T2>>, _Period> operator%(const bel_c& b, const T2& r) { typedef bel_c, _Period> result_t; @@ -235,7 +235,7 @@ namespace dxle { } template - constexpr common_type_t, bel_c> + DXLE_CONSTEXPR common_type_t, bel_c> operator%(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; @@ -246,7 +246,7 @@ namespace dxle { // comparisons template - constexpr bool operator==(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator==(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; typedef bel_c bel_c2; @@ -255,7 +255,7 @@ namespace dxle { } template - constexpr bool operator<(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator<(const bel_c& l, const bel_c& r) { typedef bel_c bel_c1; typedef bel_c bel_c2; @@ -264,25 +264,25 @@ namespace dxle { } template - constexpr bool operator!=(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator!=(const bel_c& l, const bel_c& r) { return !(l == r); } template - constexpr bool operator<=(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator<=(const bel_c& l, const bel_c& r) { return !(r < l); } template - constexpr bool operator>(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator>(const bel_c& l, const bel_c& r) { return r < l; } template - constexpr bool operator>=(const bel_c& l, const bel_c& r) + DXLE_CONSTEXPR bool operator>=(const bel_c& l, const bel_c& r) { return !(l < r); }