| 51 | // string. |
| 52 | template <typename... Ts> |
| 53 | void StrAppend(std::string* dest, Ts&&... args) { |
| 54 | std::ostringstream out; |
| 55 | out << *dest; |
| 56 | (out << ... << std::forward<Ts>(args)); |
| 57 | *dest = out.str(); |
| 58 | } |
| 59 | |
| 60 | namespace StringUtils { |
| 61 | // Tokenize "str" at "any_of_separator", store in "result" array. |
no outgoing calls