You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Joerg Schad <jo...@mesosphere.io> on 2015/05/08 17:16:51 UTC
Re: Review Request 33271: Update style guide to disallow capturing
temporaries by reference.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33271/#review82998
-----------------------------------------------------------
docs/mesos-c++-style-guide.md
<https://reviews.apache.org/r/33271/#comment133877>
Should we maybe pair up bad and good pairs?
Something like
// 1: Don't use.
const Future<Nothing>& future = f();
// Instead use
const Future<Nothing> future = f();
- Joerg Schad
On April 29, 2015, 9:34 p.m., Joris Van Remoortere wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33271/
> -----------------------------------------------------------
>
> (Updated April 29, 2015, 9:34 p.m.)
>
>
> Review request for mesos, Bernd Mathiske, Cody Maloney, Joerg Schad, Michael Park, and Till Toenshoff.
>
>
> Bugs: MESOS-2629
> https://issues.apache.org/jira/browse/MESOS-2629
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Follow up from r32630.
>
>
> Diffs
> -----
>
> docs/mesos-c++-style-guide.md 451d2475e72e07e0a5deec4e62af9d6746d94bc0
>
> Diff: https://reviews.apache.org/r/33271/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Joris Van Remoortere
>
>