Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-18 06:13:05


David Abrahams wrote:
> From: "Dirk Gerrits" <dirkg_at_[hidden]>
>>Couldn't you do a compile-time 'select' on 'is_pointer' to redirect
>>pointer types to 'boost::detail::pointer_iterator_traits' and other
>>iterators to 'std::iterator_traits'? I haven't tried it, but in my mind
>>it seems plausible. Your thoughts?
>
>
> 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! :\

I'll look into this, but if a C++ expert like yourself says it's REALLY
hard then I don't know if I'll be able to come up with something. ;)

Dirk


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