diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 1316be33..dacbe708 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -1251,6 +1251,16 @@ constexpr chars_format adjust_for_feature_macros(chars_format fmt) { ; } } // namespace detail + +#ifdef __STDCPP_FLOAT64_T__ +template <> +struct binary_format : public binary_format {}; +#endif +#ifdef __STDCPP_FLOAT32_T__ +template <> +struct binary_format : public binary_format {}; +#endif + } // namespace fast_float #endif