Skip to content

Conversation

@aleksraiden
Copy link
Contributor

Update fmtlib to 11.1.0 - full changelog: https://github.com/fmtlib/fmt/releases/tag/11.1.0

Key updates

  • Reduced debug (unoptimized) binary code size and the number of template instantiations when passing formatting arguments. For example, unoptimized binary code size for fmt::print("{}", 42) was reduced by ~40% on GCC and ~60% on clang (x86-64).
  • Added an experimental fmt::writer API that can be used for writing to different destinations such as files or strings
  • Added width and alignment support to the formatter of std::error_code
  • Added support for _BitInt formatting when using clang
  • Made more types formattable at compile time
  • Implemented a more efficient compile-time fmt::formatted_size
  • Made fmt::to_string take fmt::basic_memory_buffer by const reference
  • Renamed FMT_EXCEPTIONS to FMT_USE_EXCEPTIONS for consistency with other similar macros.
  • Fixed various warnings and compilation issues

@sonarqubecloud
Copy link

@git-hulk git-hulk merged commit 25888b2 into unstable Dec 27, 2024
63 checks passed
@aleksraiden aleksraiden deleted the aleksraiden-patch-1 branch December 28, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants