Interfacing D with C and C++

Scott Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 23 22:15:14 PDT 2014


The D code is not instantiating (but I may be wrong). I think 
writing template struct allocator<int>; on the C++ side 
instantiates and the D code only links with that instantiation. I 
reckon I'm out of my depth here.

Scott

On Sunday, 24 August 2014 at 04:47:38 UTC, ketmar via 
Digitalmars-d wrote:
> On Sun, 24 Aug 2014 04:31:55 +0000
> Scott Wilson via Digitalmars-d <digitalmars-d at puremagic.com> 
> wrote:
>
> there is NO support for instantiating C++ templates in D code. 
> and you
> can't write C++ template specialization code in D.



More information about the Digitalmars-d mailing list