Hi, the internet claims it is not in the standard but widely supported.
(https://msdn.microsoft.com/en-us/library/4141z1cx.aspx) (http://stackoverflow.com/questions/23696115/is-pragma-once-part-of-the-c11-standard) Kind Regards, Thomas Hartmann ________________________________________ From: Qt-creator <[email protected]> on behalf of Joerg Bornemann <[email protected]> Sent: Wednesday, January 13, 2016 4:52 PM To: Coda Highland Cc: [email protected] Subject: Re: [Qt-creator] Use #pragma once as default instead of header guards 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 _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
