digitalmars.D.bugs - [Issue 7411] New: Deduce base type from vector types in templates
- d-bugmail puremagic.com (24/24) Jan 31 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7411
- d-bugmail puremagic.com (8/8) Feb 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7411
- d-bugmail puremagic.com (9/9) Feb 28 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7411
http://d.puremagic.com/issues/show_bug.cgi?id=7411 Summary: Deduce base type from vector types in templates Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: turkeyman gmail.com --- Comment #0 from Manu <turkeyman gmail.com> 2012-01-31 10:30:19 PST --- Something like this (Not sure if I have the syntax quite right): template BaseTypeOfVector(T : __vector(T[N]), size_t N) { T is the type of the vector N is the number of elements } It's important to be able to know the type and width of vectors at compile time to generate appropriate code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 31 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7411 --- Comment #1 from github-bugzilla puremagic.com 2012-02-28 19:27:48 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/186dba1320fa1874bbfb71da1fa3f00ae07304d7 fix Issue 7411 - Deduce base type from vector types in templates -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 28 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7411 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 28 2012