Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-18 04:26:09

Dirk Gerrits wrote:
> 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?

Oh but this should only be used where there is a lack of partial
template specialization otherwise the users own specializations for
iterator traits for pointers won't be used. Or is it illegal to make
your own iterator_traits specializations in the first?

Dirk Gerrits

Boost list run by bdawes at, gregod at, cpdaniel at, john at