const(Class) is mangled as Class const* const

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 27 15:24:26 PDT 2017


On 3/27/2017 3:12 PM, kinke wrote:
>> It's made to work with:
>>
>>    const T
>>
>> which is the norm with C++ templates.
>
> Okay, so how exactly do I bind D code to a C++ header-only-template library? I
> thought that in that case you need a full D translation anyway...

C++ templates are always header-only. I don't really understand your question.


More information about the Digitalmars-d mailing list