diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index 28fd1df..5fa0b93 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -303,7 +303,8 @@ namespace fast_float { using std::bit_cast; #else template -FASTFLOAT_CONSTEXPR20 auto bit_cast(const From &from) -> To { +fastfloat_really_inline FASTFLOAT_CONSTEXPR20 auto bit_cast(const From &from) + -> To noexcept { // Implementation of std::bit_cast for pre-C++20. auto to = To(); // The cast suppresses a bogus -Wclass-memaccess on GCC.