dmd segfaults on nested template instantiation (eg A!(A!(int)) )
Timothee Cour
thelastmammoth at gmail.com
Wed Sep 18 21:25:56 PDT 2013
I just filed a bug report (
http://d.puremagic.com/issues/show_bug.cgi?id=11067)
Is there a workaround that keeps same syntax for user code?
Use case: i'm generating those from swig(+modifications to map C++
templates to D templates) so I can't factor the template bodies for
different template instantiations into a single definition.
----
A!(A!(int)) detections;
struct A(T) if(is(T==int)) {}
struct A(T) if(is(T==A!(int))) {}
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130918/e2e9be8c/attachment-0001.html>
More information about the Digitalmars-d-learn
mailing list