Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-13 07:08:05


From: "David Abrahams" <david.abrahams_at_[hidden]>
> I just had to work around an ICE in a seemingly trivial use of
> boost::function:
>
> given:
>
> typedef boost::function2<PyObject*, PyObject*, PyObject*> py_function;
> PyObject* identity(PyObject* args_, PyObject*);
>
> The expression:
>
> py_function(identity)
>
> Was producing an ICE with vc6.5.

How about py_function(&identity)?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk