Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-09-01 09:24:20


David Abrahams writes:
> Eric Niebler <eric_at_[hidden]> writes:
>
>> Ah. But the fact remains that remove_pointer et al. are indeed broken on
>> VC6 and VC7, and the regression tests bear this out.
>>
>> http://tinyurl.com/8fs7w
>>
>> IMO, the best path is to preserve the meaning of
>> BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION for compilers without
>> PTS. That is, it still defines full specializations of the type traits
>> templates. But the typeof implementation should be what the primary
>> template uses for compilers without PTS. That way, everything that is
>> working now, keeps working with no change in performance.
>
> I think it would better to do some actual speed testing there. After
> all, using the typeof hack *could* turn out to be much faster and use
> fewer resources than doing it the other way.

My thoughts exactly.

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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