[
https://issues.apache.org/jira/browse/MESOS-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14536853#comment-14536853
]
haosdent commented on MESOS-2670:
---------------------------------
According [~jvanremoortere] advice, replace the 'lambda::bind' expressions
match these rules:
* Binds to a static function without any side-effects.
* Is self contained (i.e. does not rely on contextual parameters)
* Does not bind in any arguments. (i.e. only uses lambda::_N for arguments)
* Is only called in 1 place OR is so small that it is ok to repeat the code.
Patch:
https://reviews.apache.org/r/34017/
https://reviews.apache.org/r/34018/
> Update existing lambdas to meet style guide
> -------------------------------------------
>
> Key: MESOS-2670
> URL: https://issues.apache.org/jira/browse/MESOS-2670
> Project: Mesos
> Issue Type: Task
> Reporter: Joris Van Remoortere
> Assignee: haosdent
> Labels: c++11
>
> There are already some lambdas in C++11 specific files. Modify these to meet
> the updated style guide.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)