| 68 | |
| 69 | template<typename STR> |
| 70 | void AppendToStringT(const BasicStringPiece<STR>& self, STR* target) { |
| 71 | if (!self.empty()) |
| 72 | target->append(self.data(), self.size()); |
| 73 | } |
| 74 | |
| 75 | void AppendToString(const StringPiece& self, std::string* target) { |
| 76 | AppendToStringT(self, target); |
no test coverage detected