Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-13 08:02:47


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, May 13, 2002 7:08 AM
Subject: Re: [boost] Boost.Function: MSVC ICE

> 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)?

Works, thanks!

-Dave


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