|
Boost : |
Subject: Re: [boost] [result_of] Test fails on clang trunk and gcc-4.7 due to changes in FDIS
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-03-31 23:36:11
Michel Morin wrote:
>> Could you file a bug?
>
> OK, I will file a bug later.
Done.
https://svn.boost.org/trac/boost/ticket/6754
> 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
Regards,
Michel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk