| 521 | } // anonymous namespace |
| 522 | |
| 523 | void PrintStringTo(const ::std::string& s, ostream* os) { |
| 524 | if (PrintCharsAsStringTo(s.data(), s.size(), os) == kHexEscape) { |
| 525 | if (GTEST_FLAG_GET(print_utf8)) { |
| 526 | ConditionalPrintAsText(s.data(), s.size(), os); |
| 527 | } |
| 528 | } |
| 529 | } |
| 530 | |
| 531 | #ifdef __cpp_char8_t |
| 532 | void PrintU8StringTo(const ::std::u8string& s, ostream* os) { |
no test coverage detected