MCPcopy Create free account
hub / github.com/apache/singa / PrintPrefixTo

Method PrintPrefixTo

test/gtest/gtest.h:9965–9970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9963 // Prints the first N fields of a tuple.
9964 template <typename Tuple>
9965 static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
9966 TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os);
9967 *os << ", ";
9968 UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
9969 ::Print(::std::tr1::get<N - 1>(t), os);
9970 }
9971
9972 // Tersely prints the first N fields of a tuple to a string vector,
9973 // one element for each field.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected