Boost logo

Boost :

Subject: Re: [boost] [Review] Formal Review: Boost.Move
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-22 19:17:58


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.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk