Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-13 08:37:03


Should we really cripple bind() just because the core language is crippled?

----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

> From: "David Abrahams" <david.abrahams_at_[hidden]>
> > I tried to do something like this today:
> >
> > void f(int x, int y);
> > char* g();
> > bind(g, bind(f, 1, 2));
> >
> > It didn't work. Could we make it work?
>
> We can but it's against the rules.
>
> g(f(1, 2)) doesn't work; so the bound version refuses to work, too. 'void'
> in the parameter list is not a type but a syntactic abom... er,
alternative
> notation.
>
> --
> Peter Dimov
> Multi Media Ltd.
>
>
> Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


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