From 9c14474d30e8723725823073b46b9c655e171886 Mon Sep 17 00:00:00 2001 From: Oliver Lee Date: Sat, 9 Oct 2021 13:02:03 +0200 Subject: [PATCH] Include `` when using `std::bit_cast` --- include/fmt/format.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index c34f505b..c24d5ba0 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -41,6 +41,10 @@ #include // std::system_error #include // std::swap +#ifdef __cpp_lib_bit_cast +#include // std::bitcast +#endif + #include "core.h" #if FMT_GCC_VERSION