Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-09 22:32:43

----- Original Message -----
From: "Doug Gregor" <gregod_at_[hidden]>
> >
> > Could be there is speicalized versions of any_function class which
> > take a function pointer type template argument and deduce other types
> > from it ?
> It is possible, though I don't know that it could be done portably because
> would (likely) require either partial specialization (not always
> or a working is_function (I don't believe is_function works on all

FWIW, the boost.python library does something very much like this, and works
with MSVC (no partial specialization).


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