[libcxx-commits] [PATCH] D117512: [libc++][ranges] Add ranges::in_in_out_result

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 25 02:24:05 PST 2022


philnik added inline comments.


================
Comment at: libcxx/include/__algorithm/in_in_out_result.h:22
+namespace ranges {
+template <class _I1, class _I2, class _O1>
+struct in_in_out_result {
----------------
Quuxplusone wrote:
> Mordante wrote:
> > Nit, since there's only one out I would prefer to remove the `1` for the output. That also matches the wording of the Standard. Same for the rest of this header.
> FWIW I'm cool with either way, but you can't use just `_O` because we don't do that. You could use `_Out`, I think would be the best option.
I made it `_O1` to be consistent between `in_in_result`, `in_in_out_result` and `in_out_out_result`. I didn't write `in_out_result`, so that one is not consistent.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117512



More information about the libcxx-commits mailing list