[libcxx-commits] [PATCH] D110498: [libc++][format][4/6] Improve formatted_size.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 7 12:51:47 PDT 2022


ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/include/__format/buffer.h:256
+///
+/// Since \ref formatted_size only needs to know the size the output itself is
+/// discarded.
----------------



================
Comment at: libcxx/include/format:546
+                                                                                              const _Args&... __args) {
+  return __vformatted_size(_VSTD::move(__loc), __fmt, basic_format_args{_VSTD::make_format_args(__args...)});
 }
----------------
This applies to other free function calls in this diff as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110498/new/

https://reviews.llvm.org/D110498



More information about the libcxx-commits mailing list