
3 Jun
2008
3 Jun
'08
3:28 p.m.
Marco Costalba wrote:
Hi all,
following code fails to compile:
It's not a bug: boost::result_of (which is used by fusion::invoke) needs to be specialized for nullary function objects. Alternatively you can use typedef int result_type; for the example case you posted. Regards, Tobias