[Issue 12206] New: Can't "alias this" to a template instantiation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 19 15:43:48 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12206
Summary: Can't "alias this" to a template instantiation
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-20 01:43:46 EET ---
template T()
{
void foo() {}
}
struct S
{
alias t = T!();
alias t this;
}
void main()
{
S s;
s.foo();
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list