← Back to index
|
Original Bugzilla link
Bug 5108 – Clarification on template alias parameters
Status
NEW
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Other
Creation time
2010-10-23T16:06:04Z
Last change time
2024-12-15T15:21:40Z
Keywords
trivial
Assigned to
No Owner
Creator
Peter Alexander
Moved to GitHub: dlang.org#4012 →
Comments
Comment #0
by peter.alexander.au — 2010-10-23T16:06:04Z
The D documentation needs to clarify when and how alias parameters should work when aliasing variables. Related news group post:
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=120112
In particular (see post): - Can a template alias parameter alias a nested function that references variables in the parent function scope? If so, is the alias still valid once the function returns? - Can a template alias parameter alias a non-static member function? - Can a template alias parameter alias a function nested in a non-static member function? If so, is the alias still valid once the member function returns? See also bugs:
http://d.puremagic.com/issues/show_bug.cgi?id=3051
http://d.puremagic.com/issues/show_bug.cgi?id=3052
Comment #1
by b2.temp — 2016-05-29T17:04:06Z
see also
https://issues.dlang.org/show_bug.cgi?id=16093
Comment #2
by robert.schadek — 2024-12-15T15:21:40Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dlang.org/issues/4012
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB