Closed
Description
When passing a native std::string_view
to vsprintf
's format
, I get such error.
main.cc: error: no matching function for call to 'vsprintf'
return fmt::vsprintf(format, fmt::make_printf_args(std::forward<Args>(args)...));
^~~~~~~~~~~~~
fmt/printf.h:585:1: note: candidate template ignored: could not match 'fmt::v5::basic_string_view' against 'std::__1::basic_string_view'
vsprintf(basic_string_view<Char> format,
^
I'm using clang 7.0.0 and libfmt at master (commit 1e3dcbb)
Metadata
Metadata
Assignees
Labels
No labels