Boost logo

Boost :

Subject: Re: [boost] [result_of] Test fails on clang trunk and gcc-4.7 due to changes in FDIS
From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2012-04-01 16:46:34


On Mar 31, 2012, at 11:36 PM, Michel Morin wrote:
>> Also, the implementation needs to be modified.
>> The current implementation of decltype-based boost::result_of
>> does not use decltype for function pointers.
>> So, for "typedef const int F();"
>> * boost::result_of<F&()>::type is int,
>> * boost::result_of<F*()>::type is const int,
>> on a compiler with N3290 decltype.
>
> I also created a ticket for this. A patch attached in the ticket.
> https://svn.boost.org/trac/boost/ticket/6755

Applied and fixed. Thanks!

- Daniel


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