[Development] RFC: more liberal 'auto' rules?

Kevin Kofler kevin.kofler at chello.at
Fri Dec 25 01:16:54 CET 2015


Matthew Woehlke wrote:
>   auto result = QString{a + b};

IMHO, that's just a complicated and ugly way to write:
  QString result = a + b;

There is no way the variable can be uninitialized if you initialize it right 
there in the declaration.

        Kevin Kofler




More information about the Development mailing list