message: Use native C++20 feature for bit_cast if available
diff: #include <version>
  #endif
  +#ifdef __cpp_lib_bit_cast
  +
  +#include <bit>
  +
  +namespace fizzy
  +{
  +using std::bit_cast;
  +} // namespace fizzy
  +
  +#else
  +
  namespace fizzy
  {
  /// The non-constexpr implementation of C++20's std::bit_cast.
  @@ -30,6 +41,8 @@ template <class To, class From>
  }
  } // namespace fizzy
  +#endif /* __cpp_lib_bit_cast */
  +
  #ifdef __cpp_lib_bitops
  #include <bit>
  