Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-04 13:16:05


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

> From: "David Abrahams" <david.abrahams_at_[hidden]>
> > From: "Peter Dimov" <pdimov_at_[hidden]>
> >
> > I know that. I just wanted the same kind of "extra" facility you could
> > request for __stdcall. In other words, for the platforms where it's
> needed,
> > #include <boost/bind/extern_c.hpp>.
>
> There is no way to supply the overload. extern "C" is not allowed on
> parameter declarations AFAIK; the "qsort" way is to use an intermediate
> typedef

I have no idea what intermediate typedef trickery you are referring to, so
forgive me if I say something stupid.

> but we don't have typedef templates, alas.

There's a workaround which mimics typedef templates. Can't this be used
here?

Dirk Gerrits


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