[libcxx-commits] [PATCH] D110494: [libc++][format][1/6] Reduce binary size.

Victor Zverovich via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 17 07:18:52 PDT 2021


vitaut added inline comments.


================
Comment at: libcxx/include/format:501
 requires(output_iterator<_OutIt, const _CharT&>) _LIBCPP_HIDE_FROM_ABI _OutIt
-    __vformat_to(_OutIt __out_it, basic_string_view<_CharT> __fmt,
-                 format_args_t<type_identity_t<_OutIt>, _CharT> __args) {
-  return __format::__vformat_to(
+    __vformat_to_wrapped(
+        _OutIt __out_it, basic_string_view<_CharT> __fmt,
----------------
Is there a good reason to introduce this function as opposed to having this logic directly in `__vformat_to`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110494



More information about the libcxx-commits mailing list