Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-19 11:19:28


At 05:53 PM 8/18/2002, Thomas Witt 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.

Opps! I was looking at the iterator helpers in operators.hpp.

>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.

Fixed in the Sandbox CVS. Warning; I compiled but couldn't test because of
Boost.Test issues.

--Beman


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