mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +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'
|
// subentity-id ::= 'N' | 'U' | 'D'
|
||||||
// format-spec ::= <as specified by the formatter for the argument type>
|
// 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>
|
template<auto Reference, typename Char, std::formattable<Char> Rep>
|
||||||
#else
|
#else
|
||||||
template<auto Reference, typename Rep, typename Char>
|
template<auto Reference, typename Rep, typename Char>
|
||||||
|
Reference in New Issue
Block a user