Boost logo

Boost :

Subject: Re: [boost] [release][1.52.0] Release Notes
From: Eric Niebler (eric_at_[hidden])
Date: 2012-11-06 13:30:15


On 11/6/2012 2:25 AM, Rob Stewart wrote:
> On Nov 5, 2012, at 7:58 PM, Eric Niebler <eric_at_[hidden]> wrote:
>
>> Starting in Boost 1.52.0, the
>
> s/in/with/

Right.

>> Why the Change Was Made
>> -----------------------
>>
>> In C++11, std::result_of is required to use decltype. Boost has decided
>> to change its implementation to minimize the differences between
>> boost::result_of and std::result_of.
>
> boost::result_of has been changed to use decltype to make it more consistent with
> std::result_of (when sufficient compiler support is available).

Better.

>> Also, the use of decltype should
>> help to improve compile times and increase the accuracy of the type computation.
>>
>> Who is Effected?
>
> s/Effected/Affected/

Are you sure? <looks it up> Darn, you're right. I always screw this one
up. Thanks for the correction.

>> What Problems Can the Change Cause?
>> -----------------------------------
>>
>> The use of decltype in result_of can result in a different type being
>> computed than if the now-obsolete TR1 result_of protocol.
>
> s/than if the/than with the/

Yup, thanks.

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

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