Boost logo

Geometry :

Subject: [ggl] Header inclusion guards
From: Mateusz Loskot (mateusz)
Date: 2009-04-15 19:19:39


As it was discussed and agreed off-list, I've started refactoring
existing inclusion guards. I decided to follow MPL and other Boost
libraries and generate guards based on physical path to a file
instead of the logical one - namespaces.

So, here is the convention I'm applying:


Example, header


is gaurded with:


I don't append _INCLUDED suffix, because such guards are long
enough to consider them as (pseudo-)unique.

Best regards,

Mateusz Loskot,
Charter Member of OSGeo,

Geometry list run by mateusz at