diff --git a/single_include/catch.hpp b/single_include/catch.hpp index c905ec6f..945f988a 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -1597,6 +1597,24 @@ public: return m_result.captureExpression( m_lhs, rhs ); } + /////////////////////////////////////////////////////////////////////////// + MutableResultInfo& operator == + ( + bool rhs + ) + { + return m_result.captureExpression( m_lhs, rhs ); + } + + /////////////////////////////////////////////////////////////////////////// + MutableResultInfo& operator != + ( + bool rhs + ) + { + return m_result.captureExpression( m_lhs, rhs ); + } + /////////////////////////////////////////////////////////////////////////// operator MutableResultInfo& () @@ -1754,6 +1772,16 @@ public: return expr; } + /////////////////////////////////////////////////////////////////////////// + Expression operator->* + ( + bool value + ) + { + Expression expr( m_result, value ); + return expr; + } + /////////////////////////////////////////////////////////////////////////// template ResultBuilder& operator <<