digitalmars.D.bugs - [Issue 526] New: Segmentation fault when use typetuple in template argument
- d-bugmail puremagic.com Nov 15 2006
- d-bugmail puremagic.com Oct 02 2007
- d-bugmail puremagic.com Oct 03 2007
- d-bugmail puremagic.com Jun 27 2008
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){ } --
Nov 15 2006
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. --
Oct 02 2007
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) } --
Oct 03 2007
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. --
Jun 27 2008









d-bugmail puremagic.com 