GCC has this attribute called abi_tag that they put on any function that returns std::string or std::list, for the rational behind that read here:https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html . the special thing with this attribute is that it adds something to the name mangling of your function, and I don't know how to represent that in D. for example the cpp function "std::string func()" will be mangled as "func[abi:cxx11]()".
any ideas?

Reply via email to