Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-17 18:06:27


On http://www.boost.org/libs/utility/indirect_iterator.htm the default
of Value is said to be: std::iterator_traits<
   std::iterator_traits<BaseIterator>::value_type >::value_type
which seems a bit 'overdone'. I think it should be
std::iterator_traits<BaseIterator>::value_type, correct?

Also the docs say that you can't use the default template parameters for
iterator_adaptor when there is no partial template specialization
support and the base iterator is a raw pointer. I was wondering what the
rationale is for not providing a workaround for this. Is it simply not
possible, or are there other reasons?

Regards,
Dirk Gerrits


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