Comment #0 by moonlightsentinel — 2022-03-31T09:27:39Z
Example:
extern (C++) class Base { ... }
extern (D)
{
// Still a C++ class because it inherits from a C++ class
class InheritCpp : Base {}
static assert(__traits(getLinkage, InheritCpp) == "C++");
}
Comment #1 by robert.schadek — 2024-12-13T19:21:53Z