Boost logo

Boost Users :

From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2006-01-16 16:52:00

Eric Niebler wrote:
> Thorsten Ottosen wrote:
>>The latter would be a cast from rvalue to lvalue like it happens in
> Not sure what you're referring to. Boost.Foreach does no such
> rvalue-to-lvalue cast.

So this wouldn't compile:

vector<int> foo();
BOOST_FOREACH( int& r, foo() )



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at