c-resources/CPlusPlus20ForProgrammers-m.../examples/libraries/fmt/test/static-export-test/library.cc

6 lines
142 B
C++
Raw Normal View History

2024-04-09 06:45:18 +00:00
#include <fmt/compile.h>
__attribute__((visibility("default"))) std::string foo() {
return fmt::format(FMT_COMPILE("foo bar {}"), 4242);
}