Date: 2001-11-13 10:03:29
--- In boost_at_y..., "David Abrahams" <david.abrahams_at_r...> wrote:
> No, sorry: the key feature of my example is the void in the middle.
> The idea is to do g(f(1,2)) where f returns and g accepts void.
The following seems to compile with gcc 2.95.2 and KCC 3.4g:
void f(int x, int y);
bind<char*>(g, bind(f, 1, 2));
I'm not familiar enough with bind to be sure why.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk