Skip to content

Commit b18ece7

Browse files
Export is_compiled_string and operator""_cf (#4544)
1 parent e424e3f commit b18ece7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/fmt/compile.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
#include "format.h"
1616

1717
FMT_BEGIN_NAMESPACE
18+
FMT_BEGIN_EXPORT
1819

1920
// A compile-time string which is compiled into fast formatting code.
20-
FMT_EXPORT class compiled_string {};
21+
class compiled_string {};
2122

2223
template <typename S>
2324
struct is_compiled_string : std::is_base_of<compiled_string, S> {};
@@ -59,6 +60,8 @@ template <detail::fixed_string Str> constexpr auto operator""_cf() {
5960
} // namespace literals
6061
#endif
6162

63+
FMT_END_EXPORT
64+
6265
namespace detail {
6366

6467
template <typename T, typename... Tail>

0 commit comments

Comments
 (0)