const(Class) is mangled as Class const* const
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Tue Mar 28 11:12:08 PDT 2017
On 2017-03-28 00:30, kinke wrote:
> Yep, so there are no libs my D code can link to, so how am I supposed to
> use C++ templates from D (as you're using that as argument for the
> `const T *const` mangling)?
As far as I understand, D can link with C++ templates if they're
instantiated on the C++ side. It would link with the instantiated
template not the actual template.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list