[libcxx-commits] [PATCH] D120921: [libc++][format] Adds a formattable concept.
Victor Zverovich via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Mar 27 07:21:31 PDT 2022
vitaut added inline comments.
================
Comment at: libcxx/include/__format/concepts.h:38
+ { __f.parse(__pc) } -> same_as<typename basic_format_parse_context<_CharT>::iterator>;
+ { __cf.format(__t, __fc) } -> same_as<_CharT*>;
+ };
----------------
I think you should use `format_context::iterator`, not `_CharT*`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120921/new/
https://reviews.llvm.org/D120921
More information about the libcxx-commits
mailing list