view dep/fmt/test/static-export-test/library.cc @ 373:fbc8c617de80

dep/animone: exception handling is the worst c++ anti-feature
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 11:03:05 -0400
parents 1faa72660932
children
line wrap: on
line source

#include <fmt/compile.h>

__attribute__((visibility("default"))) std::string foo() {
  return fmt::format(FMT_COMPILE("foo bar {}"), 4242);
}