mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-30 12:24:59 +00:00
Optimize range formatter
This commit is contained in:
parent
7ae102bd66
commit
7f951f2502
@ -533,6 +533,8 @@ struct formatter<
|
||||
range_formatter<detail::uncvref_type<range_type>, Char> range_formatter_;
|
||||
|
||||
public:
|
||||
using nonlocking = void;
|
||||
|
||||
FMT_CONSTEXPR formatter() {
|
||||
if (detail::const_check(range_format_kind<R, Char>::value !=
|
||||
range_format::set))
|
||||
|
Loading…
Reference in New Issue
Block a user