-
#include "tensorstore/util/str_cat.h"
-
template <typename... Arg>
void tensorstore::StrAppend(std::string* result, const Arg&... arg); Appends a string representation of arg… to
*result
.The arguments are converted to a string representation as follows:
std::string
andstd::string_view
Appended directly
- Numerical types
Converted to their usual string representation
- All other types
Converted using ostream
operator<<
.
Specifying an argument type that does not support
operator<<
results in a compile-time error.