From: geos-devel <geos-devel-boun...@lists.osgeo.org> on behalf of Greg Troxel 
<g...@lexort.com>

> Paul Ramsey <pram...@cleverelephant.ca> writes:
> 
> > As I fart around w/ header guards every time I add a new header/class,
> > I wonder if changing over to #pragma once would be OK with one and
> > all? GCC has had it 3.4, and clang has always had it, so…?
>
> Is that covered by any standards?
>
> (Presumably there is some other compiler people use on windows, too.)

No, it is not part of any standard. Compiler support is quite extensive though,
see for example https://en.wikipedia.org/wiki/Pragma_once

Mika Heiskanen

_______________________________________________
geos-devel mailing list
geos-devel@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel

Reply via email to