Hi,

Just a quick question: Does anybody have any good arguments against us starting 
to use #pragma once instead of header guards throughout our code base?

I’ve started using it implicitly when updating 3rd party code (the macro 
assembler) in qtdeclarative without any problems (so I’d supported by all our 
compilers). IMO #pragma once is both safer and nicer to use than classic header 
guards.

Cheers,
Lars

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to