Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-03-27 11:57:59


Martin and I have been playing around with iterator_adaptors in the
eventuality that we can use them in the VTL library.

However when we were constructing view policies dependent on the iterator
type, I came across this problem, and that is, transform_iterator_generator
specifies that iterator_adaptor has as an iterator tag type,
"std::input_iterator_tag"

VTL really needs this to be whatever the tag of the class Iterator that is
passed in as a template argument. As in
std::iterator_traits<Iterator>::iterator_category

Is there a reason it's only a std::input_iterator_tag?

  -gary-


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