Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-11-13 12:57:13


On Tuesday 13 November 2001 12:53 pm, you wrote:
> From: "David Abrahams" <david.abrahams_at_[hidden]>
>
> > What do I need to do in order to get this to work with MSVC?
> >
> > struct X
> > {
> > int f(char*, double);
> > };
> > void g()
> > {
> > bind<int>(&X::f, _1, _2, 3.0);
> > }
>
> You need to drop the <int>.

Perhaps that should be changed? Just reorder the arguments so that the return
value type is first.

        Doug


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