Hacker News new | ask | show | jobs
by biotronic 3290 days ago
https://dlang.org/spec/cpp_interface.html#cpp-templates

You will need to recreate the C++ function definitions in D and mark them extern(C++), but that's about it.