For reference: http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#auto
We should be able to adopt that wholesale but please document anywhere you think we would diverge from those examples. On Mon, Sep 22, 2014 at 7:28 AM, Alex Rukletsov <[email protected]> wrote: > We now start using auto in the code (among several other C++11 features). > However we don't want to hamper reasoning about types. I would suggest we > select several use cases where we all agree using auto is welcomed and > several counterexamples. After the short conversation with BenH, we agreed > that iterators on one side and Try<>, Option<> on the other side are first > candidates for such list. I put the examples here > <https://reviews.apache.org/r/25622/>. > > Any thoughts and ideas? > -- Dominic Hamon | @mrdo | Twitter *There are no bad ideas; only good ideas that go horribly wrong.*
