Boost logo

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.


> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at