$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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> vdspek.org> 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&`.
Regards