Call parse on empty specs at compile time

This commit is contained in:
Victor Zverovich
2023-07-13 17:17:00 -07:00
parent 8e87d3a8be
commit 661b23edeb
3 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -2101,7 +2101,7 @@ struct check_back_appender {};
FMT_BEGIN_NAMESPACE
template <> struct formatter<check_back_appender> {
auto parse(format_parse_context& ctx) -> decltype(ctx.begin()) {
FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> decltype(ctx.begin()) {
return ctx.begin();
}