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

Issue 2382103003: Clarify uncapturing lambda functions with Bind styleguide. (Closed)

Created:
4 years, 2 months ago by scheib
Modified:
4 years, 2 months ago
Reviewers:
danakj, dcheng
CC:
chromium-reviews, danakj+watch_chromium.org, jbroman+cpp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clarify uncapturing lambda functions with Bind styleguide. Update style guide to explicitly condone lambdas that do not capture with Bind, E.G.: base::Bind([](int j){}, i); Committed: https://crrev.com/ea2f9d51d4d57d7a26a28e375ff7c1d67f58fab5 Cr-Commit-Position: refs/heads/master@{#422217}

Patch Set 1 #

Total comments: 4

Patch Set 2 : danakj addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M styleguide/c++/c++11.html View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (7 generated)
scheib
4 years, 2 months ago (2016-09-30 18:29:19 UTC) #3
danakj
LGTM https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html#newcode198 styleguide/c++/c++11.html:198: <td>Do not bind or store capturing lambdas outside ...
4 years, 2 months ago (2016-09-30 18:38:18 UTC) #5
dcheng
non-owner LGTM with danakj's comments addressed https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html#newcode198 styleguide/c++/c++11.html:198: <td>Do not bind ...
4 years, 2 months ago (2016-09-30 18:41:27 UTC) #6
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/2382103003/20001
4 years, 2 months ago (2016-09-30 20:52:36 UTC) #9
scheib
https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html File styleguide/c++/c++11.html (right): https://codereview.chromium.org/2382103003/diff/1/styleguide/c++/c++11.html#newcode198 styleguide/c++/c++11.html:198: <td>Do not bind or store capturing lambdas outside the ...
4 years, 2 months ago (2016-09-30 20:53:33 UTC) #10
commit-bot: I haz the power
Failed to apply the patch. On branch working_branch Your branch is up-to-date with 'origin/refs/pending/heads/master'. nothing ...
4 years, 2 months ago (2016-09-30 21:04:30 UTC) #12
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 21:05:11 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea2f9d51d4d57d7a26a28e375ff7c1d67f58fab5
Cr-Commit-Position: refs/heads/master@{#422217}

Powered by Google App Engine
This is Rietveld 408576698