diff --git a/include/fmt/core.h b/include/fmt/core.h index 3d4064b1..744d2ab8 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -270,6 +270,7 @@ FMT_GCC_PRAGMA("GCC optimize(\"Og\")") #endif FMT_BEGIN_NAMESPACE +FMT_MODULE_EXPORT_BEGIN // Implementations of enable_if_t and other metafunctions for older systems. template @@ -288,6 +289,8 @@ template using type_identity_t = typename type_identity::type; struct monostate {}; +FMT_MODULE_EXPORT_END + // An enable_if helper to be used in template parameters which results in much // shorter symbols: https://godbolt.org/z/sWw4vP. Extra parentheses are needed // to workaround a bug in MSVC 2019 (see #1140 and #1186).