
1 Apr
2012
1 Apr
'12
3:36 a.m.
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