[PATCH] D27009: Make STLExtras range adapters consistent.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 15:50:06 PST 2016
zturner created this revision.
zturner added a reviewer: chandlerc.
zturner added a subscriber: llvm-commits.
1. Use `std::begin()` / `std::end()` instead of `Range.begin()` / `Range.end()`. Might as well allow these functions to work on C-arrays.
2. use `typename` everywhere instead of `class`.
3. Always pass predicates by value.
https://reviews.llvm.org/D27009
Files:
include/llvm/ADT/STLExtras.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27009.78969.patch
Type: text/x-patch
Size: 5859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/a265791c/attachment.bin>
More information about the llvm-commits
mailing list