digitalmars.D.bugs - [Issue 526] New: Segmentation fault when use typetuple in template argument
- d-bugmail puremagic.com (17/17) Nov 15 2006 http://d.puremagic.com/issues/show_bug.cgi?id=526
- d-bugmail puremagic.com (5/5) Oct 02 2007 http://d.puremagic.com/issues/show_bug.cgi?id=526
- d-bugmail puremagic.com (22/22) Oct 03 2007 http://d.puremagic.com/issues/show_bug.cgi?id=526
- d-bugmail puremagic.com (10/10) Jun 27 2008 http://d.puremagic.com/issues/show_bug.cgi?id=526
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 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 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 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