mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Added boolean test for ptr expressions
This commit is contained in:
@@ -493,6 +493,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;
|
||||||
const LhsT* m_lhs;
|
const LhsT* m_lhs;
|
||||||
|
Reference in New Issue
Block a user