[Development] The age-old T* foo vs. T *foo

Konstantin Tokarev annulen at yandex.ru
Fri Oct 18 12:37:08 CEST 2019

17.10.2019, 21:06, "Ville Voutilainen" <ville.voutilainen at 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.


More information about the Development mailing list