[Issue 5108] New: Clarification on template alias parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Oct 23 16:06:50 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5108
Summary: Clarification on template alias parameters
Product: D
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: normal
Priority: P2
Component: websites
AssignedTo: nobody at puremagic.com
ReportedBy: peter.alexander.au at gmail.com
--- Comment #0 from Peter Alexander <peter.alexander.au at gmail.com> 2010-10-23 16:06:04 PDT ---
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list