[Liblas-devel] #pragma once

Howard Butler hobu.inc at gmail.com
Mon Feb 8 10:06:51 EST 2010


All,

I would like to remove our #ifdef-style include guards in all of our .hpp and .h files and instead use the "#pragma once" [1] compiler directive.  I can't think of any compilers that people are using with libLAS that do not support this directive, and it will cut down on a lot of the boilerplate that exists in the headers. 

Any objections?

Howard

[1] http://en.wikipedia.org/wiki/Pragma_once


More information about the Liblas-devel mailing list