fmt::join support FMT_COMPILE (#2720)
This commit is contained in:
1 parent
58fb782396
commit
b02e5af52c
3 files changed
+9
-4
No files matched your search
@@ -2818,8 +2818,8 @@ struct formatter<join_view<It, Sentinel, Char>, Char> {
|
||||
}
|
||||
|
||||
template <typename FormatContext>
|
||||
auto format(const join_view<It, Sentinel, Char>& value, FormatContext& ctx)
|
||||
-> decltype(ctx.out()) {
|
||||
auto format(const join_view<It, Sentinel, Char>& value,
|
||||
FormatContext& ctx) const -> decltype(ctx.out()) {
|
||||
auto it = value.begin;
|
||||
auto out = ctx.out();
|
||||
if (it != value.end) {
|
||||
|
||||
Reference in new issue
Block a user