Simplify parse_format_string

This commit is contained in:
Victor Zverovich
2024-09-01 09:34:38 -07:00
parent 985c3399d1
commit b310a0d48b
5 changed files with 39 additions and 71 deletions

View File

@ -558,7 +558,7 @@ struct scan_handler {
void vscan(detail::scan_buffer& buf, string_view fmt, scan_args args) {
auto h = detail::scan_handler(fmt, buf, args);
detail::parse_format_string<false>(fmt, h);
detail::parse_format_string(fmt, h);
}
template <size_t I, typename... T, FMT_ENABLE_IF(I == sizeof...(T))>