Boost logo

Boost :

Subject: Re: [boost] [filesystem] windows/posix inconsistencies.
From: Adam Merz (adammerz_at_[hidden])
Date: 2012-02-03 14:17:18

Olaf van der Spek <ml <at>> writes:
> > * Const return types inhibit move semantics.
> Why's that?

Const-ness inhibits modifying an object, rvalue or not, and modifying the
moved-from object is integral to move semantics. I.e., you can't move from
a `T const&&` any more than you can move from a `T const&`.


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