Boost logo

Boost :

Subject: Re: [boost] [BGL] Testing a graph for bipartiteness
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2010-02-18 15:14:39

Matthias Walter wrote:
> For this I
> especially want to get feedback whether my approach for returning
> the odd-cycle via one iterator is a good one. My headache with it
> is that the user won't get the resulting iterator like in std::copy, because
> the return-value is used for bipartiteness-predicate.

Could you take the output iterator by reference, and change it in-place
into the new version?

John Bytheway

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