mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 19:34:29 +02:00
fix: use std::formattable
only when fmtlib is not used
This commit is contained in:
@@ -265,7 +265,7 @@ public:
|
||||
// subentity-id ::= 'N' | 'U' | 'D'
|
||||
// format-spec ::= <as specified by the formatter for the argument type>
|
||||
//
|
||||
#if __cpp_lib_format_ranges
|
||||
#if __cpp_lib_format_ranges && !MP_UNITS_USE_FMTLIB
|
||||
template<auto Reference, typename Char, std::formattable<Char> Rep>
|
||||
#else
|
||||
template<auto Reference, typename Rep, typename Char>
|
||||
|
Reference in New Issue
Block a user