Boost logo

Boost :

Subject: Re: [boost] tie alternative?
From: Michael G (mgoldshteyn_at_[hidden])
Date: 2008-10-27 11:14:55

"David Abrahams" <dave_at_[hidden]> wrote in message
> ...
> However, we can make it much nicer, e.g.:
> for (vertex_iterator pv,ve = xxx(pv,vertices(g)); pv != ve; ++pv)
> {
> ...
> }
> My only problem is how to spell xxx. The attached proof-of-concept uses
> operator%, but I don't feel particularly good about that choice either.
> Ideas?

I would recommend one of the following, depending on your verbosity comfort
level. The vertical bar, | , denotes alternation:



Michael Goldshteyn

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