|
Boost : |
Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-05-23 07:22:00
----- Original Message -----
From: "Steven Watanabe" <watanabesj_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, May 23, 2010 1:17 AM
Subject: Re: [boost] [Review] Formal Review: Boost.Move
>
> AMDG
>
> Terry Golubiewski wrote:
>> I agree that boost::rv<> should not be in the move_detail namespace.
>> I found using the macros to be annoying and did not use them.
>> I did add...
>>
>> typedef boost::rv<T>& rv_ref;
>>
>> ... to my movable classes for convenience.
>> I never felt a need for const_rv_ref though.
>
> The main reason for using the macros is
> to get an automatic upgrade to real
> rvalue references when they are available.
Why a typedef will not work?
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk