We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
import std
1 parent 300ce75 commit 20c8fdaCopy full SHA for 20c8fda
include/fmt/std.h
@@ -225,7 +225,7 @@ template <typename T> struct is_bit_reference_like {
225
226
// Workaround for libc++ incompatibility with C++ standard.
227
// According to the Standard, `bitset::operator[] const` returns bool.
228
-#ifdef _LIBCPP_VERSION
+#if defined(_LIBCPP_VERSION) && !defined(FMT_IMPORT_STD)
229
template <typename C>
230
struct is_bit_reference_like<std::__bit_const_reference<C>> {
231
static constexpr bool value = true;
src/fmt.cc
@@ -50,6 +50,8 @@ module;
50
# include <limits.h>
51
# include <stdint.h>
52
# include <stdio.h>
53
+# include <stdlib.h>
54
+# include <string.h>
55
# include <time.h>
56
#endif
57
#include <cerrno>
0 commit comments