[libcxx-commits] [PATCH] D110500: [libc++][format][6/6] Improve vformat.

Victor Zverovich via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 1 15:38:33 PDT 2022


vitaut added inline comments.


================
Comment at: libcxx/include/format:564
+  using _Buffer = typename __format::__container_buffer<std::string>;
+  _Buffer __buffer{&__res};
+  _VSTD::__vformat_to(
----------------
Why pass a pointer rather than a reference (and take a pointer in the ctor)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110500



More information about the libcxx-commits mailing list