Boost logo

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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at