Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2002-01-24 17:14:41

David Abrahams wrote:
> Beg pardon, but do function and bind work with extern "C" functions?
> That would be extremely useful to me.

Unless bind has special precautions to handle "extern C" functions,
it probably should not work, because an "extern C" function pointer
and an ordinary "extern C++" function pointer are different types
language-wise (in particular, different calling conventions might
apply). I don't believe that linkage specifications are "deduced"
by template argument deduction.

I agree it would be useful to add the required overloads.

Jens Maurer

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