Adds support for "%v" in absl::StrFormat and related functions for string-like types (support for other builtin types will follow in future changes). Rather than specifying %s for strings, users may specify %v and have the format specifier deduced. Notably, %v does not work for `const char*` because we cannot be certain if %s or %p was intended (nor can we be certain if the `const char*` was properly null-terminated). If you have a `const char*` you know is null-terminated and would like to work with %v, please wrap it in a `string_view` before using it. PiperOrigin-RevId: 471321055 Change-Id: Ifbb50082d301baecc7edc277975f12e7ad3ecc8a
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| arg.cc | Loading commit data... | |
| arg.h | Loading commit data... | |
| arg_test.cc | Loading commit data... | |
| bind.cc | Loading commit data... | |
| bind.h | Loading commit data... | |
| bind_test.cc | Loading commit data... | |
| checker.h | Loading commit data... | |
| checker_test.cc | Loading commit data... | |
| convert_test.cc | Loading commit data... | |
| extension.cc | Loading commit data... | |
| extension.h | Loading commit data... | |
| extension_test.cc | Loading commit data... | |
| float_conversion.cc | Loading commit data... | |
| float_conversion.h | Loading commit data... | |
| output.cc | Loading commit data... | |
| output.h | Loading commit data... | |
| output_test.cc | Loading commit data... | |
| parser.cc | Loading commit data... | |
| parser.h | Loading commit data... | |
| parser_test.cc | Loading commit data... |