
1 Apr
2012
1 Apr
'12
8:46 p.m.
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