|
Boost : |
From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2008-06-03 11:28:13
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk