This is an archive of the discontinued LLVM Phabricator instance.

[STLExtras] Add merge_unique
Needs ReviewPublic

Authored by Bigcheese on Jan 17 2018, 12:34 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is for https://reviews.llvm.org/D36351

This adds the merge_unique algorithm. It's like std::unique except it allows modifying the uniqued values.

Diff Detail

Repository
rL LLVM

Event Timeline

Bigcheese created this revision.Jan 17 2018, 12:34 AM
grandinj added inline comments.
include/llvm/ADT/STLExtras.h
936

modifiy -> modify