[libcxx-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jan 25 08:25:20 PST 2025
================
@@ -53,24 +56,147 @@ _LIBCPP_BEGIN_NAMESPACE_STD
namespace __format {
+// A helper to limit the total size of code units written.
+class _LIBCPP_HIDE_FROM_ABI __max_output_size {
----------------
mordante wrote:
We've done that a few times where we want a private struct not be part of the ABI. I've looked with @ldionne at the best way to mark these and we concluded `_LIBCPP_HIDE_FROM_ABI` would work.
https://github.com/llvm/llvm-project/pull/108990
More information about the libcxx-commits
mailing list