Subject: Re: [boost] [#pragma once]
From: Edouard A. (edouard_at_[hidden])
Date: 2009-04-10 10:59:10
> Each one of them supports #pragma once. Is there any reason to wrap
> this pragma within #ifdefs? Are there any compilers out there today
> don't support this #pragma?
> Could we change this coding pattern so that it no longer looks like
> is being selfish?
In addition #pragma once may be faster than #ifndef/#endif because the
compiler is not even going to open the file a second time to parse the
ICC does support #pragma once as well.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk