diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 62d199c..3f3aa57 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -1246,6 +1246,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