| 10014 | // a tuple type. |
| 10015 | template <typename T> |
| 10016 | void PrintTupleTo(const T& t, ::std::ostream* os) { |
| 10017 | *os << "("; |
| 10018 | TuplePrefixPrinter< ::std::tr1::tuple_size<T>::value>:: |
| 10019 | PrintPrefixTo(t, os); |
| 10020 | *os << ")"; |
| 10021 | } |
| 10022 | |
| 10023 | // Prints the fields of a tuple tersely to a string vector, one |
| 10024 | // element for each field. See the comment before |