class EqHelper
Defined at line 1401 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
Public Methods
template <typename T1, typename T2, typename std::enable_if<!std::is_integral<T1>::value ||
!std::is_pointer<T2>::value>::type* = nullptr>
AssertionResult Compare (const char * lhs_expression, const char * rhs_expression, const T1 & lhs, const T2 & rhs)
Disable this overload for cases where one argument is a pointer
and the other is the null pointer constant.
Defined at line 1410 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
AssertionResult Compare (const char * lhs_expression, const char * rhs_expression, BiggestInt lhs, BiggestInt rhs)
With this overloaded version, we allow anonymous enums to be used
in {ASSERT|EXPECT}_EQ when compiled with gcc 4, as anonymous
enums can be implicitly cast to BiggestInt.
Even though its body looks the same as the above version, we
cannot merge the two, as it will make anonymous enums unhappy.
Defined at line 1422 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h
template <typename T>
AssertionResult Compare (const char * lhs_expression, const char * rhs_expression, std::nullptr_t , T * rhs)
Defined at line 1429 of file ../../third_party/googletest/src/googletest/include/gtest/gtest.h