Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-01-22 12:20:51

I can't seem to get the result_of template to function, I've tried:

#include <boost/utility/result_of.hpp>

typedef boost::result_of<F>::type t;

with F=

int (double)
int (*)(double)
int (&)(double)

and all give a long list of errors.

I believe that all of these should be OK? So am I doing something obvious
wrong (I'm using VC7.1 BTW in case that makes a difference)?



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