Boost logo

Boost :

From: garcia_at_[hidden]
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.
> -Dave

The following seems to compile with gcc 2.95.2 and KCC 3.4g:

  void f(int x, int y);
  char* g();
  bind<char*>(g, bind(f, 1, 2));

I'm not familiar enough with bind to be sure why.


Boost list run by bdawes at, gregod at, cpdaniel at, john at