Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-07-24 15:34:13

Eric Niebler wrote:
> Peter Dimov wrote:

>> (1) can work for move-only types. I don't have experience with such
>> proxies, so I can't tell. :-)
> You mean when the proxy is move only? How does that solve the problem
> above?
> vector_proxy const a = ...;
> vector_proxy b = std::move(a);

This won't work; the move constructor only takes non-const rvalues.

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