Boost logo

Boost :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2004-08-11 13:13:41

At Wednesday 2004-08-11 09:56, you wrote:
>a momemnt ago, someone reported a problem on IRC regarding

where on IRC? I should probably hang out in there

>boost::filesystem::path::iterator. He basically has code like
>using boost::filesystem::path;
>path::iterator i = somepath.begin();
>path::iterator j = i++;
>That code used to work but stopped working recently.
>Now, there is a compiler error saying that the value
>returned by i++ is not suitable for constructing j:
>error: conversion from `
> to non-scalar type `boost::filesystem::path::iterator' requested
>I suspect the change was caused by a recent change to iterator adaptors.
>Investigation of the problem revealed that the documenation for
>path::iterator says it is a bidirectional iterator while the
>implementation uses single_pass_traversal_tag. This looks
>wrong to me.
>Unsubscribe & other changes:

Victor A. Wagner Jr.
The five most dangerous words in the English language:
               "There oughta be a law"

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