1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-03 13:33:53 +00:00

Added boolean test for ptr expressions

This commit is contained in:
Phil Nash 2011-04-08 19:38:50 +01:00
parent 46b4909c08
commit 3e512bd316

View File

@ -492,6 +492,14 @@ public:
{
return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
}
///////////////////////////////////////////////////////////////////////////
operator MutableResultInfo&
()
{
return m_result->captureBoolExpression( m_lhs );
}
private:
MutableResultInfo* m_result;