Additonal use case for "auto" in C++ style guide: shared pointer creation.
Additonal use case for "auto" in C++ style guide: shared pointer creation.

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.

Review: https://reviews.apache.org/r/30792

gsantovena/mesos,verizonlabs/mesos,reneploetz/mesos,yuquanshan/customizedMesos,jpeach/mesos,chhsia0/mesos,zmalik/mesos,chhsia0/mesos,reneploetz/mesos,reneploetz/mesos,verizonlabs/mesos,craimbert/mesos,gsantovena/mesos,gsantovena/mesos,gsantovena/mesos,asamerh4/mesos,gsantovena/mesos,abudnik/mesos,verizonlabs/mesos,neilconway/mesos,jpeach/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,craimbert/mesos,chhsia0/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,reneploetz/mesos,Gilbert88/mesos,kaysoky/mesos,kaysoky/mesos,asamerh4/mesos,asamerh4/mesos,reneploetz/mesos,craimbert/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,andschwa/mesos,dforsyth/mesos,asamerh4/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,kaysoky/mesos,chhsia0/mesos,yuquanshan/customizedMesos,jpeach/mesos,asamerh4/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,neilconway/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,zmalik/mesos,Gilbert88/mesos,dforsyth/mesos,abudnik/mesos,kaysoky/mesos,kaysoky/mesos,craimbert/mesos,yuquanshan/customizedMesos,abudnik/mesos,gsantovena/mesos,abudnik/mesos,andschwa/mesos,andschwa/mesos,Gilbert88/mesos,jpeach/mesos,neilconway/mesos,Gilbert88/mesos,craimbert/mesos,asamerh4/mesos,zmalik/mesos,craimbert/mesos,dforsyth/mesos,chhsia0/mesos,gsantovena/mesos,dforsyth/mesos,verizonlabs/mesos,reneploetz/mesos,jpeach/mesos,abudnik/mesos,verizonlabs/mesos,verizonlabs/mesos,Gilbert88/mesos,zmalik/mesos,jpeach/mesos,zmalik/mesos,kaysoky/mesos,jpeach/mesos,andschwa/mesos,chhsia0/mesos,Gilbert88/mesos,asamerh4/mesos,chhsia0/mesos,Gilbert88/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,craimbert/mesos,verizonlabs/mesos,dforsyth/mesos,reneploetz/mesos,zmalik/mesos,yuquanshan/customizedMesos