Skip to content
Snippets Groups Projects
Commit 4d7994b8 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Rename hybridEqual to hybridEquals

parent deb1ced2
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -56,11 +56,11 @@ struct IsIntegralConstant : public IsIntegralConstantHelper<std::decay_t<T>>
// Compute t1==t2 either statically or dynamically
template<class T1, class T2>
constexpr auto hybridEqual(const T1& t1, const T2& t2, PriorityTag<1>) -> decltype(T1::value, T2::value, std::integral_constant<bool,T1::value == T2::value>())
constexpr auto hybridEquals(const T1& t1, const T2& t2, PriorityTag<1>) -> decltype(T1::value, T2::value, std::integral_constant<bool,T1::value == T2::value>())
{ return {}; }
template<class T1, class T2>
constexpr auto hybridEqual(const T1& t1, const T2& t2, PriorityTag<0>)
constexpr auto hybridEquals(const T1& t1, const T2& t2, PriorityTag<0>)
{
return t1==t2;
}
......@@ -304,9 +304,9 @@ void sparseRangeFor(Range&& range, F&& f)
* the result of a runtime comparison of t1 and t2 is directly returned.
*/
template<class T1, class T2>
constexpr auto hybridEqual(const T1& t1, const T2& t2)
constexpr auto hybridEquals(const T1& t1, const T2& t2)
{
return Imp::hybridEqual(t1, t2, PriorityTag<1>());
return Imp::hybridEquals(t1, t2, PriorityTag<1>());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment