Does bind work with extern “C” functions?
Sometimes. On some platforms, pointers to extern “C” functions are equivalent to “ordinary” function pointers, so they work fine. Other platforms treat them as different types. A platform-specific implementation of bind is expected to handle the problem transparently; this implementation does not. As usual, the workaround is to treat the function as a generic function object and use the bind