D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5108 - Clarification on template alias parameters
Summary: Clarification on template alias parameters
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: Other Other
: P3 normal
Assignee: No Owner
URL:
Keywords: trivial
Depends on:
Blocks:
 
Reported: 2010-10-23 16:06 UTC by Peter Alexander
Modified: 2024-12-15 15:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Peter Alexander 2010-10-23 16:06:04 UTC
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 basile-z 2016-05-29 17:04:06 UTC
see also https://issues.dlang.org/show_bug.cgi?id=16093
Comment 2 dlangBugzillaToGithub 2024-12-15 15:21:40 UTC
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