Function operator<

Synopsis

#include <include/internal/catch_decomposer.h>

template <typename T>
auto operator<(T) const -> BinaryExpr< LhsT, RhsT const & > const

Description

No description yet.

Source

Lines 103-108 in include/internal/catch_decomposer.h.

template<typename T>
auto operator < ( T ) const -> BinaryExpr<LhsT, RhsT const&> const {
    static_assert(always_false<T>::value,
    "chained comparisons are not supported inside assertions, "
    "wrap the expression inside parentheses, or decompose it");
}





Add Discussion as Guest

Log in