▲ | sfpotter 5 days ago | |
It's a great feature, and D has a bunch of support for this kind of thing. But D and C++ have just enough differences to make extern(C++) not be automatic. It can take some pretty arcane metaprogramming to get things to work, and some things are impossible. It's also worth pointing out that D isn't trying to be fully compatible with C++. |