|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-13 13:14:21
From: "Douglas Gregor" <gregod_at_[hidden]>
> > > 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.
What makes you think that it's not first? ;-)
MSVC simply doesn't have partial ordering. Both forms (generic and pointer
to member) match.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk