Boost logo

Boost :

Subject: Re: [boost] Proposal for #pragma once support
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-06-11 13:51:15


On Thu, Jun 11, 2009 at 1:34 AM, John Maddock<john_at_[hidden]> wrote:
>> 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?

Yeah, I wast mostly joking :) but then again, in my mind improving
build times by using pragma once is a joke too. If we want to deal
with the problem of slow builds we should be removing stuff from
headers, instead of making it easier to swallow all that crap.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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