Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-30 14:03:30

Eric Niebler wrote:
> Thorsten Ottosen wrote:
>>Eric Niebler wrote:

>>>If make_iterator_range() returned a const-qualified iterator_range<>,
>>>this would work. Thorsten?
>>Isn't the problem thet out is a reference?

> out is a reference, which means that non-const rvalues will not bind to
> it. But const rvalues will because out_t will be deduced to be
> "iterator_range<> const". Try it and see.

I see. I certainly didn't know that. I could get it to work on
gcc, but not vc8.

On what compilers does it actually work?


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