mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-02 12:06:11 +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_;
|
range_formatter<detail::uncvref_type<range_type>, Char> range_formatter_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
using nonlocking = void;
|
||||||
|
|
||||||
FMT_CONSTEXPR formatter() {
|
FMT_CONSTEXPR formatter() {
|
||||||
if (detail::const_check(range_format_kind<R, Char>::value !=
|
if (detail::const_check(range_format_kind<R, Char>::value !=
|
||||||
range_format::set))
|
range_format::set))
|
||||||
|
Loading…
Reference in New Issue
Block a user