Lines Matching full:operator
40 // defining either operator<<() or PrintTo() in the namespace that
46 // 2. operator<<(ostream&, const T&) defined in either foo or the
129 // operator<< nor PrintTo() is defined for T, where kTypeKind is the
161 // Since T has no << operator or PrintTo() but can be implicitly
179 // type T and T has neither << operator nor PrintTo().
182 // a << operator in the namespace where Foo is defined.
184 // We put this operator in namespace 'internal2' instead of 'internal'
189 // Note that this operator<< takes a generic std::basic_ostream<Char,
195 // operator<<(std::ostream&, const T&) or
196 // operator<<(std::basic_stream<Char, CharTraits>, const Foo&) is more
199 ::std::basic_ostream<Char, CharTraits>& operator<<(
220 // testing::internal2::operator<< appears as if it was declared in
225 // testing::internal2::operator<< in case T doesn't come with a <<
226 // operator.
228 // We cannot write 'using ::testing::internal2::operator<<;', which
235 // 1. foo::operator<< (thanks to Koenig look-up),
236 // 2. ::operator<< (as the current namespace is enclosed in ::),
237 // 3. testing::internal2::operator<< (thanks to the using statement above).
239 // The operator<< whose type matches T best will be picked.
341 // Prints the given value using the << operator if it has one;
348 // give the user this option as sometimes defining a << operator for
350 // or there is already a << operator but it doesn't do what the user
361 // for protocol message types in our operator<<. The rationale is:
365 // operator<<. For STL containers, other formats can be