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

(Updated Feb. 28, 2015, 6:44 a.m.)


Review request for mesos, Adam B, Benjamin Hindman, Till Toenshoff, and Timothy 
Chen.


Changes
-------

Not using make_shared in this proposal.


Repository: mesos


Description (updated)
-------

Explicitly allows auto declarations for shared pointer creations. Example:

    auto nameList = shared_ptr<list<string>>(new list<string>());

Here the type on the left is already explicitly stated on the right. This 
replaces

    shared_ptr<list<string>> nameList = shared_ptr<list<string>>(new 
list<string>());

where we needlessly write the same type twice.


Diffs (updated)
-----

  docs/mesos-c++-style-guide.md b24fe4b64a2577060f66ef49ae8b5d4a9d94167c 

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


Testing
-------

None. This is doc text only.


Thanks,

Bernd Mathiske

Reply via email to