Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost-users][proto] Types of arguments to operator()
From: Eric Niebler (eric_at_[hidden])
Date: 2010-05-07 15:45:19


On 5/7/2010 12:40 PM, joel falcou wrote:
> Manjunath Kudlur wrote:
>> BTW, can you give a heads-up on how this is going to be solved in
>> Phoenix3?
>>
> Good question. I guess we'll use the functional::forward in C++98 and
> has a #if(BOOSt_HAS_RVALUES) version with rvalue
> references. Nothing clear yet on this point

I think the plan is to capture by value by default and require special
syntax to capture by reference. That side-steps the issue.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net