You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Joris Van Remoortere <jo...@gmail.com> on 2015/03/30 19:47:15 UTC

Review Request 32630: Add style change proposal for constant reference to temporaries.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32630/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman and switched to 'mcypark'.


Repository: mesos


Description
-------

Ben suggested we start pushing proposal markdowns to the repo, so they can go through a nice review process.
This proposal is to augment the style guide to disallow capturing temporaries by reference.


Diffs
-----

  docs/proposals/style/const_ref_to_temporary.md PRE-CREATION 

Diff: https://reviews.apache.org/r/32630/diff/


Testing
-------

The 'output' in the proposal shows the problem.


Thanks,

Joris Van Remoortere


Re: Review Request 32630: Add style change proposal for constant reference to temporaries.

Posted by Cody Maloney <co...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32630/#review78225
-----------------------------------------------------------


+1. I'd really like if we could at least try to introduce a tool to detect this, but definitely not a blocker.

- Cody Maloney


On March 30, 2015, 5:47 p.m., Joris Van Remoortere wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32630/
> -----------------------------------------------------------
> 
> (Updated March 30, 2015, 5:47 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and switched to 'mcypark'.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Ben suggested we start pushing proposal markdowns to the repo, so they can go through a nice review process.
> This proposal is to augment the style guide to disallow capturing temporaries by reference.
> 
> 
> Diffs
> -----
> 
>   docs/proposals/style/const_ref_to_temporary.md PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/32630/diff/
> 
> 
> Testing
> -------
> 
> The 'output' in the proposal shows the problem.
> 
> 
> Thanks,
> 
> Joris Van Remoortere
> 
>


Re: Review Request 32630: Add style change proposal for constant reference to temporaries.

Posted by Joris Van Remoortere <jo...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32630/
-----------------------------------------------------------

(Updated April 29, 2015, 8:43 p.m.)


Review request for mesos, Benjamin Hindman and switched to 'mcypark'.


Repository: mesos


Description (updated)
-------

Ben suggested we start pushing proposal markdowns to the repo, so they can go through a nice review process.
This proposal is to augment the style guide to disallow capturing temporaries by reference.

Closing in favor of:
https://issues.apache.org/jira/browse/MESOS-2629
https://reviews.apache.org/r/33271


Diffs
-----

  docs/proposals/style/const_ref_to_temporary.md PRE-CREATION 

Diff: https://reviews.apache.org/r/32630/diff/


Testing
-------

The 'output' in the proposal shows the problem.


Thanks,

Joris Van Remoortere


Re: Review Request 32630: Add style change proposal for constant reference to temporaries.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32630/#review78229
-----------------------------------------------------------


Patch looks great!

Reviews applied: [32630]

All tests passed.

- Mesos ReviewBot


On March 30, 2015, 5:47 p.m., Joris Van Remoortere wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32630/
> -----------------------------------------------------------
> 
> (Updated March 30, 2015, 5:47 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and switched to 'mcypark'.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Ben suggested we start pushing proposal markdowns to the repo, so they can go through a nice review process.
> This proposal is to augment the style guide to disallow capturing temporaries by reference.
> 
> 
> Diffs
> -----
> 
>   docs/proposals/style/const_ref_to_temporary.md PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/32630/diff/
> 
> 
> Testing
> -------
> 
> The 'output' in the proposal shows the problem.
> 
> 
> Thanks,
> 
> Joris Van Remoortere
> 
>