mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Added boolean test for ptr expressions
This commit is contained in:
parent
46b4909c08
commit
3e512bd316
@ -493,6 +493,14 @@ public:
|
||||
return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
operator MutableResultInfo&
|
||||
()
|
||||
{
|
||||
return m_result->captureBoolExpression( m_lhs );
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
MutableResultInfo* m_result;
|
||||
const LhsT* m_lhs;
|
||||
|
Loading…
Reference in New Issue
Block a user