Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 2723853002: Implementing erase/erase_if functions from library fundamentals ts: (Closed)

Created:
3 years, 9 months ago by dyaroshev
Modified:
3 years, 9 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org, Alexander Yashkin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implementing erase/erase_if functions from library fundamentals ts: http://en.cppreference.com/w/cpp/experimental/lib_extensions_2 erase -> base::Erase erase_if -> base::EraseIf BUG=697235 Review-Url: https://codereview.chromium.org/2723853002 Cr-Commit-Position: refs/heads/master@{#455322} Committed: https://chromium.googlesource.com/chromium/src/+/5f0ff79896d3a6aa7a93de31cfa192c2312e5d7f

Patch Set 1 #

Total comments: 19

Patch Set 2 : Review, round 1. #

Total comments: 9

Patch Set 3 : Review, round 2. #

Total comments: 18

Patch Set 4 : Review, round 4. #

Total comments: 1

Patch Set 5 : Review, round 4. #

Patch Set 6 : Compilation on linux. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -9 lines) Patch
M base/containers/flat_set.h View 1 2 3 3 chunks +19 lines, -9 lines 0 comments Download
M base/containers/flat_set_unittest.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M base/stl_util.h View 1 2 3 2 chunks +136 lines, -0 lines 0 comments Download
M base/stl_util_unittest.cc View 1 2 3 4 5 3 chunks +144 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (19 generated)
dyaroshev
https://codereview.chromium.org/2723853002/diff/1/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/2723853002/diff/1/base/stl_util.h#newcode140 base/stl_util.h:140: // implement this functions for arbitrary containers. Three times ...
3 years, 9 months ago (2017-02-28 23:28:33 UTC) #3
Peter Kasting
LGTM with nits. Changing OWNER reviewer from danakj to gab due to OOO. Other reviewers, ...
3 years, 9 months ago (2017-03-01 03:20:11 UTC) #5
danakj
On 2017/03/01 03:20:11, Peter Kasting wrote: > LGTM with nits. > > Changing OWNER reviewer ...
3 years, 9 months ago (2017-03-01 18:58:44 UTC) #6
dyaroshev
On 2017/03/01 18:58:44, danakj wrote: > On 2017/03/01 03:20:11, Peter Kasting wrote: > > LGTM ...
3 years, 9 months ago (2017-03-01 19:26:22 UTC) #8
dyaroshev
https://codereview.chromium.org/2723853002/diff/1/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/2723853002/diff/1/base/stl_util.h#newcode140 base/stl_util.h:140: // implement this functions for arbitrary containers. On 2017/03/01 ...
3 years, 9 months ago (2017-03-01 20:05:37 UTC) #9
Peter Kasting
dyaroshev's answers are good for the most part, I'll just add a bit. On 2017/03/01 ...
3 years, 9 months ago (2017-03-01 22:58:19 UTC) #10
dyaroshev
I have a suggestion but I'm not sure you'll like it. If we follow the ...
3 years, 9 months ago (2017-03-01 23:15:09 UTC) #11
Peter Kasting
On 2017/03/01 23:15:09, dyaroshev wrote: > I have a suggestion but I'm not sure you'll ...
3 years, 9 months ago (2017-03-01 23:19:40 UTC) #12
dyaroshev
On 2017/03/01 23:19:40, Peter Kasting wrote: > On 2017/03/01 23:15:09, dyaroshev wrote: > > I ...
3 years, 9 months ago (2017-03-02 10:31:53 UTC) #13
Peter Kasting
On 2017/03/02 10:31:53, dyaroshev wrote: > On 2017/03/01 23:19:40, Peter Kasting wrote: > > On ...
3 years, 9 months ago (2017-03-02 20:12:53 UTC) #14
dyaroshev
On 2017/03/02 20:12:53, Peter Kasting wrote: > On 2017/03/02 10:31:53, dyaroshev wrote: > > On ...
3 years, 9 months ago (2017-03-02 21:36:40 UTC) #15
Peter Kasting
On 2017/03/02 21:36:40, dyaroshev wrote: > On 2017/03/02 20:12:53, Peter Kasting wrote: > > On ...
3 years, 9 months ago (2017-03-02 21:51:46 UTC) #16
dyaroshev
On 2017/03/02 21:51:46, Peter Kasting wrote: > On 2017/03/02 21:36:40, dyaroshev wrote: > > On ...
3 years, 9 months ago (2017-03-02 22:23:59 UTC) #17
danakj
On Thu, Mar 2, 2017 at 4:51 PM, <pkasting@chromium.org> wrote: > On 2017/03/02 21:36:40, dyaroshev ...
3 years, 9 months ago (2017-03-03 19:55:06 UTC) #18
danakj
https://codereview.chromium.org/2723853002/diff/20001/base/containers/flat_set.h File base/containers/flat_set.h (right): https://codereview.chromium.org/2723853002/diff/20001/base/containers/flat_set.h#newcode665 base/containers/flat_set.h:665: template <typename Key, typename Compare, typename Predicate> Please describe ...
3 years, 9 months ago (2017-03-03 20:11:49 UTC) #19
danakj
I think I can see the usefulness, thanks for your comments. I'm not totally sure ...
3 years, 9 months ago (2017-03-03 20:12:55 UTC) #20
dyaroshev
On 2017/03/03 20:12:55, danakj wrote: > I think I can see the usefulness, thanks for ...
3 years, 9 months ago (2017-03-03 21:28:33 UTC) #21
danakj
On Fri, Mar 3, 2017 at 4:28 PM, <dyaroshev@yandex-team.ru> wrote: > On 2017/03/03 20:12:55, danakj ...
3 years, 9 months ago (2017-03-03 21:30:46 UTC) #22
dyaroshev
On 2017/03/03 21:30:46, danakj wrote: > On Fri, Mar 3, 2017 at 4:28 PM, <mailto:dyaroshev@yandex-team.ru> ...
3 years, 9 months ago (2017-03-03 21:33:30 UTC) #23
danakj
On Fri, Mar 3, 2017 at 4:33 PM, <dyaroshev@yandex-team.ru> wrote: > On 2017/03/03 21:30:46, danakj ...
3 years, 9 months ago (2017-03-03 21:39:06 UTC) #24
dyaroshev
https://codereview.chromium.org/2723853002/diff/20001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/2723853002/diff/20001/base/stl_util.h#newcode153 base/stl_util.h:153: void STLEraseRemove(Container& container, const Value& value) { On 2017/03/03 ...
3 years, 9 months ago (2017-03-03 23:16:54 UTC) #27
Peter Kasting
https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h File base/containers/flat_set.h (right): https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h#newcode37 base/containers/flat_set.h:37: // overload of base::EraseIf. Insertion is harder - consider ...
3 years, 9 months ago (2017-03-03 23:27:31 UTC) #28
danakj
https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h File base/containers/flat_set.h (right): https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h#newcode220 base/containers/flat_set.h:220: // Prefer the erase(std::remove(), end()) idiom for deleting multiple ...
3 years, 9 months ago (2017-03-03 23:51:23 UTC) #29
dyaroshev
https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h File base/containers/flat_set.h (right): https://codereview.chromium.org/2723853002/diff/80001/base/containers/flat_set.h#newcode37 base/containers/flat_set.h:37: // overload of base::EraseIf. Insertion is harder - consider ...
3 years, 9 months ago (2017-03-04 00:32:49 UTC) #31
dyaroshev
https://codereview.chromium.org/2723853002/diff/80001/base/stl_util.h File base/stl_util.h (right): https://codereview.chromium.org/2723853002/diff/80001/base/stl_util.h#newcode11 base/stl_util.h:11: #include <deque> On 2017/03/04 00:32:49, dyaroshev wrote: > On ...
3 years, 9 months ago (2017-03-05 10:49:59 UTC) #33
danakj
LGTM https://codereview.chromium.org/2723853002/diff/120001/base/containers/flat_set_unittest.cc File base/containers/flat_set_unittest.cc (right): https://codereview.chromium.org/2723853002/diff/120001/base/containers/flat_set_unittest.cc#newcode1246 base/containers/flat_set_unittest.cc:1246: // void EraseIf(flat_set) This comment is exactly the ...
3 years, 9 months ago (2017-03-06 16:21:56 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723853002/130001
3 years, 9 months ago (2017-03-06 21:14:41 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/377709)
3 years, 9 months ago (2017-03-06 21:33:23 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723853002/150001
3 years, 9 months ago (2017-03-06 22:32:20 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/378828)
3 years, 9 months ago (2017-03-07 01:24:16 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723853002/150001
3 years, 9 months ago (2017-03-07 06:29:49 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379382)
3 years, 9 months ago (2017-03-07 09:27:22 UTC) #48
dyaroshev
On 2017/03/07 09:27:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 9 months ago (2017-03-07 09:43:16 UTC) #49
Peter Kasting
On 2017/03/07 09:43:16, dyaroshev wrote: > On 2017/03/07 09:27:22, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-07 09:56:29 UTC) #50
dyaroshev
On 2017/03/07 09:56:29, Peter Kasting wrote: > On 2017/03/07 09:43:16, dyaroshev wrote: > > On ...
3 years, 9 months ago (2017-03-07 10:03:00 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2723853002/150001
3 years, 9 months ago (2017-03-07 22:26:07 UTC) #53
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 01:26:13 UTC) #56
Message was sent while issue was closed.
Committed patchset #6 (id:150001) as
https://chromium.googlesource.com/chromium/src/+/5f0ff79896d3a6aa7a93de31cfa1...

Powered by Google App Engine
This is Rietveld 408576698