Boost logo

Boost :

Subject: Re: [boost] Proposal for #pragma once support
From: John Maddock (john_at_[hidden])
Date: 2009-06-11 04:34:59


> I'm not sure you got my drift, using BOOST_WORKAROUND effectively
> flags the better #pragma once performance on MSVC as a bug. :)

Sure, but it requires #including boost/workaround.hpp in every header, which
is surely not such a great idea?

In fact wouldn't the extra #includes outweigh the use of pragma once?

Speculatively yours, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk