[Qt-creator] Use #pragma once as default instead of header guards

Joerg Bornemann joerg.bornemann at theqtcompany.com
Wed Jan 13 16:52:47 CET 2016


On 13-Jan-16 16:43, Coda Highland wrote:

> #pragma once isn't non-standard. It's defined by the C++11
> specification and a compliant compiler MUST support it.

Can you show me where this is defined?
AFAICT it is widely supported, but not part of the standard.


Cheers,

Joerg



More information about the Qt-creator mailing list