class IgnoredValue
Defined at line 126 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h
An IgnoredValue object can be implicitly constructed from ANY value.
Public Methods
template <typename T, typename std::enable_if<!std::is_convertible<T, Sink>::value,
int>::type = 0>
void IgnoredValue (const T & )
This constructor template allows any value to be implicitly
converted to IgnoredValue. The object has no data member and
doesn't try to remember anything about the argument. We
deliberately omit the 'explicit' keyword in order to allow the
conversion to be implicit.
Disable the conversion if T already has a magical conversion operator.
Otherwise we get ambiguity.
Defined at line 140 of file ../../third_party/googletest/src/googletest/include/gtest/internal/gtest-internal.h