25 Feb
2011
25 Feb
'11
11:27 a.m.
Michel MORIN wrote:
This is caused by incorrect use of `result_of`.
Changing the line 56 of boost/ptr_container/indirect_fun.hpp BOOST_DEDUCED_TYPENAME result_of< Fun( BOOST_DEDUCED_TYPENAME pointee::type& ) >::type to BOOST_DEDUCED_TYPENAME result_of< const Fun( BOOST_DEDUCED_TYPENAME pointee::type& ) >::type resolves the issue (`Fun` is changed to `const Fun`).
The above is completely wrong. Sorry for the noise. Regards, Michel