This is an archive of the discontinued LLVM Phabricator instance.

[libc++][ranges] Add ranges::in_out_out_result
ClosedPublic

Authored by philnik on Jan 31 2022, 10:40 AM.

Details

Summary

Add ranges::in_out_out_result

Diff Detail

Event Timeline

philnik created this revision.Jan 31 2022, 10:40 AM
philnik requested review of this revision.Jan 31 2022, 10:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2022, 10:40 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik updated this revision to Diff 404609.Jan 31 2022, 10:42 AM
  • Add no_unique_address test
Mordante accepted this revision as: Mordante.Jan 31 2022, 11:42 AM

LGTM modulo some nits.

libcxx/test/std/algorithms/algorithms.results/in_out_out_result.pass.cpp
15

copy-paste.

79

Why do you use 10L when you want an int?

philnik updated this revision to Diff 405389.Feb 2 2022, 12:31 PM
philnik marked 2 inline comments as done.
  • Address comments
Quuxplusone accepted this revision.Feb 2 2022, 5:13 PM

LGTM % comments!

libcxx/test/std/algorithms/algorithms.results/in_in_out_result.pass.cpp
15

I believe you changed the copy-paste error in the wrong (original) file! Please undo it here, and do it there.

libcxx/test/std/algorithms/algorithms.results/in_out_out_result.pass.cpp
79

This, also, was fixed in the original file. (Please keep it fixed there, but also fix it here.)

This revision is now accepted and ready to land.Feb 2 2022, 5:13 PM
This revision was automatically updated to reflect the committed changes.
philnik marked 2 inline comments as done.