[Development] C++11 for Examples

Marc Mutz marc.mutz at kdab.com
Fri Mar 6 09:54:34 CET 2015


On Tuesday 03 March 2015 11:30:51 Guido Seifert wrote:
> Why not make different example categories?

a) because it's more work, less fun, and people don't work on examples anyway,
   but they might, when they can modernize them.
b) because one reason we want to have this is to experiment with C++11-only
   features in the Qt API, so come Flag Day, we don't need to poke around the
   new design space like blind men. And that means all examples should use
   C++11 (and 14) to the fullest extent possible.

Some peole here are arguing for restrictions on the use of C++11 features in 
the examples. I'm against that. It thwards pointa a) and b), imo.

If users have older compilers, they should just use the examples from Qt 5.5. 
They can literally just be copied in.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list