extern(C++, ns)
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jan 2 23:06:31 PST 2016
On 1/2/2016 9:51 PM, Manu via Digitalmars-d wrote:
> For instance, connecting to the C++ string lib:
>
> module libep.string;
> public import libep.c.string : BaseString, MutableString, SharedString;
> alias String = BaseString!char;
> alias WString = BaseString!wchar;
> alias DString = BaseString!dchar;
>
> Those don't like to be imported that way: Error: template instance
> BaseString!char BaseString is not a template declaration, it is a alias
Please file a bug report for that.
More information about the Digitalmars-d
mailing list