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
@ -492,6 +492,14 @@ public:
|
|||||||
{
|
{
|
||||||
return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
|
return m_result->captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
operator MutableResultInfo&
|
||||||
|
()
|
||||||
|
{
|
||||||
|
return m_result->captureBoolExpression( m_lhs );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MutableResultInfo* m_result;
|
MutableResultInfo* m_result;
|
||||||
|
Loading…
Reference in New Issue
Block a user