commit | b425288a3f4168d1813d7c4db83de3c801cd9365 | [log] [tgz] |
---|---|---|
author | ruuda <ruuda@google.com> | Mon Nov 23 21:46:57 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 23 21:47:44 2015 |
tree | 61691b66a2be26ee937027f2aa10e0dfa94123cb | |
parent | 97b9851546675bd7ccc4d1dfb48cddbf3502ca94 [diff] |
[StyleGuide] Allow begin and end non-member functions Allow usage of |std::begin| and |std::end|. This is useful for iterating fixed-size arrays. Discussion thread: https://groups.google.com/a/chromium.org/d/topic/cxx/5iFNE8P5qT4/discussion Furthermore, this CL replaces home-brewn |std::end|-like functions in base/trace_event with |std::end| to verify that <iterator> is supported on all platforms. Review URL: https://codereview.chromium.org/1471683002 Cr-Commit-Position: refs/heads/master@{#361192}