diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/list/operation/contains.h | 2 | ||||
-rw-r--r-- | src/list/operation/delete.h | 2 | ||||
-rw-r--r-- | src/operation/math.h | 2 | ||||
-rw-r--r-- | src/type.h | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/list/operation/contains.h b/src/list/operation/contains.h index 458acc0..c58d6ac 100644 --- a/src/list/operation/contains.h +++ b/src/list/operation/contains.h @@ -12,7 +12,7 @@ template < typename List > using Contains = Any< - Apply<EqualValue, _0, Element>::template type, + Apply<IsEqualValue, _0, Element>::template type, List >; diff --git a/src/list/operation/delete.h b/src/list/operation/delete.h index a524667..430336f 100644 --- a/src/list/operation/delete.h +++ b/src/list/operation/delete.h @@ -12,7 +12,7 @@ template < typename List > using Delete = Remove< - Apply<EqualValue, _0, Element>::template type, + Apply<IsEqualValue, _0, Element>::template type, List >; diff --git a/src/operation/math.h b/src/operation/math.h index d855893..e20795b 100644 --- a/src/operation/math.h +++ b/src/operation/math.h @@ -55,7 +55,7 @@ using Modulo = std::integral_constant< >; template <typename X> -using Even = EqualValue< +using Even = IsEqualValue< Modulo<X, Size<2>>, Size<0> >; @@ -21,7 +21,7 @@ template < typename X, typename Y > -using EqualType = typename std::is_same< +using IsEqualType = typename std::is_same< typename X::value_type, typename Y::value_type >::type; @@ -30,7 +30,7 @@ template < typename X, typename Y > -using EqualValue = Boolean<X::value == Y::value>; +using IsEqualValue = Boolean<X::value == Y::value>; } |