From 06b4862f1ffdb81317740d6a41efa2d295f84a6f Mon Sep 17 00:00:00 2001 From: cqwrteur <100043421+trcrsired@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:07:25 -0400 Subject: [PATCH] 'fix libc++ hack fp on MSVC abi --- .../filebuf/fp_hack/libc++symbol.h | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/include/fast_io_legacy_impl/filebuf/fp_hack/libc++symbol.h b/include/fast_io_legacy_impl/filebuf/fp_hack/libc++symbol.h index 166f9fc34..d27c163e8 100644 --- a/include/fast_io_legacy_impl/filebuf/fp_hack/libc++symbol.h +++ b/include/fast_io_legacy_impl/filebuf/fp_hack/libc++symbol.h @@ -87,46 +87,56 @@ inline constexpr auto compute_libcxx_stdinoutbufname() noexcept { if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); } else { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdoutbuf"); } } else { if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); } else if constexpr(::std::same_as) { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); } else { - return ::fast_io::details::compute_libcxx_msvcabi_symbol(u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); + return ::fast_io::details::compute_libcxx_msvcabi_symbol( + u8"class std::" FAST_IO_LIBCPP_ABI_NAMESPACE_STR u8"::__stdinbuf"); } } }