<div dir="ltr"><div dir="ltr">"non standard but widely supported" <div><br></div><div><a href="https://en.wikipedia.org/wiki/Pragma_once">https://en.wikipedia.org/wiki/Pragma_once</a><br></div><div><br></div><div>Includes MSVC! :)</div><div><br></div><div>P</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 19, 2018 at 7:01 AM Greg Troxel <<a href="mailto:gdt@lexort.com">gdt@lexort.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>> writes:<br>
<br>
> As I fart around w/ header guards every time I add a new header/class,<br>
> I wonder if changing over to #pragma once would be OK with one and<br>
> all? GCC has had it 3.4, and clang has always had it, so…?<br>
<br>
Is that covered by any standards?<br>
<br>
(Presumably there is some other compiler people use on windows, too.)<br>
</blockquote></div>