Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-24 15:41:16

From: "David Abrahams" <david.abrahams_at_[hidden]>
> Beg pardon, but do function and bind work with extern "C" functions?
> That would be extremely useful to me.

#include <boost/bind.hpp>

extern "C" void f(void) {}

int main()

works for me on MSVC, bcc, g++. I don't know why. :-) Perhaps because an
extern "C" function pointer happens to be the same as an ordinary C++
function pointer on win32.

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