Non-Confidential | ![]() | ARM DUI0472J | ||
| ||||
Home > Language Extensions > Type conversions |
Type conversion between a pointer to an extern "C"
function and a pointer to an extern "C++"
function is permitted.
extern "C" void f(); // f’s type has extern "C" linkage void (*pf)() = &f; // pf points to an extern "C++" function // error unless implicit conversion is allowed