33 string desc =
"Result(";
37 if (!sort_key.empty()) {
38 desc +=
", sort_key=";
41 if (!collapse_key.empty()) {
42 desc +=
", collapse_key=";
46 desc +=
", collapse_count=";
47 desc +=
str(collapse_count);
std::string get_description() const
Append a string to an object description, escaping invalid UTF-8.
string str(int value)
Convert int to std::string.
Convert types to std::string.
void description_append(std::string &desc, std::string_view s)