From b18ece7d71a5a0c6c6aba4297b3e828daa410fc7 Mon Sep 17 00:00:00 2001 From: CrackedMatter <81803926+CrackedMatter@users.noreply.github.com> Date: Fri, 19 Sep 2025 17:54:54 +0200 Subject: [PATCH] Export is_compiled_string and operator""_cf (#4544) --- include/fmt/compile.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/fmt/compile.h b/include/fmt/compile.h index f711ba41..64eb7a20 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -15,9 +15,10 @@ #include "format.h" FMT_BEGIN_NAMESPACE +FMT_BEGIN_EXPORT // A compile-time string which is compiled into fast formatting code. -FMT_EXPORT class compiled_string {}; +class compiled_string {}; template struct is_compiled_string : std::is_base_of {}; @@ -59,6 +60,8 @@ template constexpr auto operator""_cf() { } // namespace literals #endif +FMT_END_EXPORT + namespace detail { template