This is an archive of the discontinued LLVM Phabricator instance.

Add llvm::equal convenient wrapper for ranges around std::equal
ClosedPublic

Authored by mehdi_amini on Jul 27 2021, 1:06 PM.

Diff Detail

Event Timeline

mehdi_amini created this revision.Jul 27 2021, 1:06 PM
mehdi_amini requested review of this revision.Jul 27 2021, 1:06 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 27 2021, 1:06 PM

Should this be named equal_range?

Should this be named equal_range?

I would stick with equal, equal_range has a different meaning (https://en.cppreference.com/w/cpp/algorithm/equal_range)

rriddle accepted this revision.Jul 27 2021, 1:08 PM
This revision is now accepted and ready to land.Jul 27 2021, 1:08 PM

Oh I forgot about std::equal_range...

This revision was landed with ongoing or failed builds.Jul 27 2021, 5:10 PM
This revision was automatically updated to reflect the committed changes.