Thread overview |
---|
November 16, 2006 [Issue 526] New: Segmentation fault when use typetuple in template argument | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=526 Summary: Segmentation fault when use typetuple in template argument Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: lovesyao@hotmail.com import std.typetuple; template test(TypeTuple!(uint,ulong) tuple){ } -- |
October 03, 2007 [Issue 526] Compiler crash when use typetuple in template argument | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=526 ------- Comment #1 from bugzilla@digitalmars.com 2007-10-03 00:17 ------- No crash for dmd 1.021 and 2.004. The code is invalid anyway, and an error message is printed. -- |
October 03, 2007 [Issue 526] Compiler crash when use typetuple in template argument | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=526 shro8822@vandals.uidaho.edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shro8822@vandals.uidaho.edu ------- Comment #2 from shro8822@vandals.uidaho.edu 2007-10-03 09:45 ------- this would be really cool if you could do it: template Using(alias fn) { static if(fn args == function) { template Replace(I...) { alias RemoveIndex!(I).From(args) dropedArgs; template With(newArgs v) // derived arg list in template == typesafe { ... } } else static assert(false) } -- |
June 28, 2008 [Issue 526] Compiler crash when use typetuple in template argument | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=526 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #3 from bugzilla@digitalmars.com 2008-06-28 01:31 ------- I don't understand the suggested feature or what it has to do with the bug report. The bug itself appears to be working fine. -- |
Copyright © 1999-2021 by the D Language Foundation