AreEqualData()
Contents
[
Hide
]System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T1&, const T2&) function
Equal-compares two containers using System::Object::Equals on elements. Works for SmartPtr elements.
template<typename T1,typename T2> std::enable_if<System::IsSmartPtr<typenameT1::value_type>::value &&System::IsSmartPtr<typenameT2::value_type>::value, bool>::type System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T1 &lhs, const T2 &rhs)
Template parameters
Parameter | Description |
---|---|
T1 | LHS container type. |
T2 | RHS container type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs | const T1& | LHS container reference. |
rhs | const T2& | RHS container reference. |
Return Value
True if contained elements and sizes match, false otherwise.
System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T1&, const T2&) function
Equal-compares two containers using operator == on elements. Works for non-SmartPtr elements.
template<typename T1,typename T2> std::enable_if<!System::IsSmartPtr<typenameT1::value_type>::value &&!System::IsSmartPtr<typenameT2::value_type>::value, bool>::type System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T1 &lhs, const T2 &rhs)
Template parameters
Parameter | Description |
---|---|
T1 | LHS container type. |
T2 | RHS container type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs | const T1& | LHS container. |
rhs | const T2& | RHS container. |
Return Value
True if contained elements and sizes match, false otherwise.
System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T&, const T&) function
Equal-compares two containers of identical type. Works for non-SmartPtr elements.
template<typename T> std::enable_if<!System::IsSmartPtr<typenameT::value_type>::value, bool>::type System::TestPredicates::Details::SharedPtrAsserts::AreEqualData(const T &lhs, const T &rhs)
Template parameters
Parameter | Description |
---|---|
T1 | LHS container type. |
T2 | RHS container type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs | const T& | LHS container. |
rhs | const T& | RHS container. |
Return Value
True if contained elements and sizes match, false otherwise.
See Also
- Struct IsSmartPtr
- Namespace System::TestPredicates::Details::SharedPtrAsserts
- Library Aspose.Slides