17.10.2019, 21:06, "Ville Voutilainen" <ville.voutilai...@gmail.com>: > As a quick example of how our current style is just odd, consider > > for (auto &&x : oink) > > Sure, that's in accordance with our style. It looks very out of place when > coming back to our code after adventures in other code. Quick reading > of it tends to suggest that it's a by-value thing since quick eyes see > auto without any decorations.
I don't buy this. Space before '&&' may confuse simple tools like grep when used naively, but definitely not a human reader. -- Regards, Konstantin _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development