mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 11:14:41 +00:00
Clarify why we have TYPE in native_formatter
This commit is contained in:
parent
bca7040556
commit
621e9c17c5
@ -2955,6 +2955,7 @@ FMT_API void vprint_mojibake(FILE*, string_view, format_args, bool = false);
|
|||||||
inline void vprint_mojibake(FILE*, string_view, format_args, bool) {}
|
inline void vprint_mojibake(FILE*, string_view, format_args, bool) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TYPE can be different from type_constant<T>, e.g. for __float128.
|
||||||
template <typename T, typename Char, type TYPE> struct native_formatter {
|
template <typename T, typename Char, type TYPE> struct native_formatter {
|
||||||
private:
|
private:
|
||||||
dynamic_format_specs<Char> specs_;
|
dynamic_format_specs<Char> specs_;
|
||||||
|
Loading…
Reference in New Issue
Block a user