extern(C++, ns)

Manu via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 2 23:17:16 PST 2016


On 3 January 2016 at 17:06, Walter Bright via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> 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.
>

But it works in reduced test cases. I can't find a way to practically bug a
lot of these sorts of problems without posting my source tree.
I'll try and reduce this one again...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160103/7ce1fc94/attachment.html>


More information about the Digitalmars-d mailing list