Subject: Re: [boost] tie alternative?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-10-28 13:41:30
David Abrahams wrote:
>> for( boost::iterator_range<vertex_iterator> vip( vertices( g ) ) ;
>> !vip.empty(); vip.advance_begin(1) )
> It's sad, but I'm not as confident in the ability to optimize that form
> because the iterators are bundled into a single struct. Also I am not
> fond of the constant 1.
Can't be worse than BOOST_FOREACH, which if I recall correctly is much
less efficient than a normal loop on MSVC.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk