struct ContainerPrinter
Defined at line 162 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-printers.h
Used to print an STL-style container when the user doesn't define
a PrintTo() for it.
NOTE: Since std::span does not have const_iterator until C++23, it would
fail IsContainerTest before C++23. However, IsContainerTest only uses
the presence of const_iterator to avoid treating iterators as containers
because of iterator::iterator. Which means std::span satisfies the *intended*
condition of IsContainerTest.
Public Methods
template <typename T, typename = typename std::enable_if<
((sizeof(IsContainerTest<T>(0)) == sizeof(IsContainer)) &&
!IsRecursiveContainer<T>::value) ||
IsStdSpan<T>::value>::type>
void PrintValue (const T & container, std::ostream * os)
Defined at line 168 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-printers.h