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

Function PrintRawArrayTo

test/gtest/gtest.h:9638–9644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9636// the curly braces.
9637template <typename T>
9638void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) {
9639 UniversalPrint(a[0], os);
9640 for (size_t i = 1; i != count; i++) {
9641 *os << ", ";
9642 UniversalPrint(a[i], os);
9643 }
9644}
9645
9646// Overloads for ::string and ::std::string.
9647#if GTEST_HAS_GLOBAL_STRING

Callers 1

UniversalPrintArrayFunction · 0.85

Calls 1

UniversalPrintFunction · 0.85

Tested by

no test coverage detected