You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Joris Van Remoortere <jo...@gmail.com> on 2015/06/05 11:34:12 UTC
Review Request 35120: Use non-POD type for alias example in c++ style
guide.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35120/
-----------------------------------------------------------
Review request for mesos, Benjamin Hindman and Ben Mahler.
Repository: mesos
Description
-------
Also got rid of an unused struct.
Diffs
-----
docs/mesos-c++-style-guide.md 38dd201a22dd775971fad190378d022c50885969
Diff: https://reviews.apache.org/r/35120/diff/
Testing
-------
Thanks,
Joris Van Remoortere
Re: Review Request 35120: Use non-POD type for alias example in c++
style guide.
Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35120/#review86786
-----------------------------------------------------------
Patch looks great!
Reviews applied: [35120]
All tests passed.
- Mesos ReviewBot
On June 5, 2015, 9:34 a.m., Joris Van Remoortere wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35120/
> -----------------------------------------------------------
>
> (Updated June 5, 2015, 9:34 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Ben Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Also got rid of an unused struct.
>
>
> Diffs
> -----
>
> docs/mesos-c++-style-guide.md 38dd201a22dd775971fad190378d022c50885969
>
> Diff: https://reviews.apache.org/r/35120/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Joris Van Remoortere
>
>
Re: Review Request 35120: Use non-POD type for alias example in c++
style guide.
Posted by Joris Van Remoortere <jo...@gmail.com>.
> On June 9, 2015, 1:03 a.m., Ben Mahler wrote:
> > docs/mesos-c++-style-guide.md, line 181
> > <https://reviews.apache.org/r/35120/diff/1/?file=979820#file979820line181>
> >
> > Also I added const to the 'values', was that not the intent?
I wanted to show that we allow the use of aliases to modify values as well. Iterating through a map is a good example of where that is useful.
If that was not clear, then I think it requires a comment so others will understand that as well! :-)
- Joris
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35120/#review87113
-----------------------------------------------------------
On June 5, 2015, 9:34 a.m., Joris Van Remoortere wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35120/
> -----------------------------------------------------------
>
> (Updated June 5, 2015, 9:34 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Ben Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Also got rid of an unused struct.
>
>
> Diffs
> -----
>
> docs/mesos-c++-style-guide.md 38dd201a22dd775971fad190378d022c50885969
>
> Diff: https://reviews.apache.org/r/35120/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Joris Van Remoortere
>
>
Re: Review Request 35120: Use non-POD type for alias example in c++
style guide.
Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35120/#review87113
-----------------------------------------------------------
docs/mesos-c++-style-guide.md
<https://reviews.apache.org/r/35120/#comment139436>
By the way, I removed the std:: prefix here.
docs/mesos-c++-style-guide.md
<https://reviews.apache.org/r/35120/#comment139437>
Also I added const to the 'values', was that not the intent?
- Ben Mahler
On June 5, 2015, 9:34 a.m., Joris Van Remoortere wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35120/
> -----------------------------------------------------------
>
> (Updated June 5, 2015, 9:34 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Ben Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Also got rid of an unused struct.
>
>
> Diffs
> -----
>
> docs/mesos-c++-style-guide.md 38dd201a22dd775971fad190378d022c50885969
>
> Diff: https://reviews.apache.org/r/35120/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Joris Van Remoortere
>
>
Re: Review Request 35120: Use non-POD type for alias example in c++
style guide.
Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35120/#review87111
-----------------------------------------------------------
Ship it!
Ship It!
- Ben Mahler
On June 5, 2015, 9:34 a.m., Joris Van Remoortere wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35120/
> -----------------------------------------------------------
>
> (Updated June 5, 2015, 9:34 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Ben Mahler.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Also got rid of an unused struct.
>
>
> Diffs
> -----
>
> docs/mesos-c++-style-guide.md 38dd201a22dd775971fad190378d022c50885969
>
> Diff: https://reviews.apache.org/r/35120/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Joris Van Remoortere
>
>