|
Boost : |
From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-18 10:52:49
Aleksey Gurtovoy wrote:
> Dirk Gerrits wrote:
>
>>>We could do that, but somebody needs to write
>>>pointer_iterator_traits for compilers without
>>>partial specialization. If you can figure out how
>>>to do that, you'll be the hero of every VC++ user
>>>in the world (hint: it's REALLY hard).
>>
>>I naively thought that it would just take a single use of
>>remove_pointer. But of course this requires partial
>>specialization as well! :\
>
>
> Well, not exactly. See
> http://www.boost.org/libs/type_traits/index.htm#transformations, the
> paragraph right after the table.
Ah yes. But we can't really expect iterator_adaptor users to use
BOOST_BROKEN_COMPILER_TYPE_TRAITS_SPECIALIZATION can we? So then it
would only work for built-in types.
Dirk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk