|
Boost : |
Subject: Re: [boost] [TR1] tr1 functional compile time looks strange
From: falcou (Joel.Falcou_at_[hidden])
Date: 2011-04-27 08:22:58
On Wed, 27 Apr 2011 08:50:34 +0100, John Maddock <boost.regex_at_[hidden]>
wrote:
>> An empty file including only boost/tr1/functional.hpp seems to compile
in
>> 3s ...
>>
>> Does any of the latest patches botched something here ?
>
> I haven't changed anything in TR1 for some time. Seems OK here, what
> compiler/platform are you using?
>
We have the problem on Mac OS X using gcc 4.5 and on linux too.
I pinpointed the stuff to result_of. Using std::tr1::Result_of from
functional.hpp take roughly 3s.
Including boost/utility/result_of is less than 1s.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk