Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-08-18 16:53:13


Beman,

On Sunday 18 August 2002 21:58, Beman Dawes wrote:
> >Just change the basetype to
> >boost::iterator< std::input_iterator_tag, path, std::ptrdiff_t,
> >path const*, path const&>
> >and all will be fine :-).
>
> Because of input_iterator_tag, those should already be the defaults, if I
> read the code correctly.

To which code are you referring here? From my reading neither the standard
(24.3.2 Basic iterator) nor boost/iterator.hpp says anything about this.

>
> A test I ran seemed to indicate that analysis is correct, and there is no
> need to specify them.

FWIW the types _are_ wrong on gcc-3.1.1/STLport-4.5.3.

--Thomas

-- 
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de

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