[Issue 4042] Unable to instantiate a struct template.

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4042 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|2.040 |D2 --

[Issue 4042] Unable to instantiate a struct template.

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4042] Unable to instantiate a struct template.

2010-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #6 from Eldar Insafutdinov e.insafutdi...@gmail.com 2010-05-10 03:31:35 PDT --- (In reply to comment #5) changelog 477 Thanks for that. I will check if it fixes our problem later today. And I am also looking forward to properly

[Issue 4042] Unable to instantiate a struct template.

2010-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #7 from Max Samukha samu...@voliacable.com 2010-05-10 07:45:38 PDT --- *** Issue 4043 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 4042] Unable to instantiate a struct template.

2010-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #8 from Max Samukha samu...@voliacable.com 2010-05-10 08:01:05 PDT --- (In reply to comment #5) changelog 477 Qtd compiles with that. Thank you. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 4042] Unable to instantiate a struct template.

2010-05-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 4042] Unable to instantiate a struct template.

2010-05-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #4 from Walter Bright bugzi...@digitalmars.com 2010-05-09 19:53:56 PDT --- Trying to perfectly unwind forward reference failures is buggy and probably doomed. This one fails because function parameter types don't get redone. While

[Issue 4042] Unable to instantiate a struct template.

2010-05-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #5 from Walter Bright bugzi...@digitalmars.com 2010-05-09 20:00:03 PDT --- changelog 477 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 4042] Unable to instantiate a struct template.

2010-04-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 Max Samukha samu...@voliacable.com changed: What|Removed |Added CC|

[Issue 4042] Unable to instantiate a struct template.

2010-04-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4042 --- Comment #2 from Max Samukha samu...@voliacable.com 2010-04-03 05:25:22 PDT --- There may be more than one bug. Note that the static if body in QTypeInfo is evaluated even though no __isQObjectType is defined in QGraphicsWidget or

Re: [Issue 4042] Unable to instantiate a struct template.

2010-04-03 Thread wrzosk
The test case compiles when exec method definition is moved down: template isQObjectType(T) { enum isQObjectType = is(T.__isQObjectType); } template QTypeInfo(T) { static if (!isQObjectType!T) { enum size = T.sizeof; } } struct QList(T) { alias QTypeInfo!T TI;