[libcxx-commits] [PATCH] D121530: [libc++][format] Implement format-string.

Victor Zverovich via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 8 09:11:55 PDT 2022


vitaut added inline comments.


================
Comment at: libcxx/benchmarks/formatter_float.bench.cpp:237
+    std::array<char, s> r;
+    std::ranges::copy(make_fmt(), r.begin());
+    return r;
----------------
nit: no need to call make_fmt twice. In fact you could probably merge make_fmt into this lambda.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121530



More information about the libcxx-commits mailing list