
11 Jun
2009
11 Jun
'09
5:51 p.m.
On Thu, Jun 11, 2009 at 1:34 AM, John Maddock<john@johnmaddock.co.uk> 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