Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-11 12:04:44

Thorsten Ottosen wrote:
> "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> news:002001c55630$afeeaa00$6801a8c0_at_pdimov...

>> The meaning of the language construct for( type i: expr ) changes
>> based on what overloads are visible. This is relatively uncommon for
>> C++.
> the meaning of
> for( const auto& r : make_range( expr ) )
> would also change depending on what overloads that are visible.

As would the meaning of expr, obviously. But once expr is evaluated, there
would be no hidden surprises. Besides, make_range takes two arguments, first
and last. :-)

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