2015/05/06 19:35 "Timon Gehr via Digitalmars-d" :
>
> Probably nested types should invoke nested template instantiation, as the
context pointer is runtime data. Then add a way to access the context
pointer associated with some symbol (e.g. __traits).
Related: https://issues.dlang.org/show_bug.cgi?
On 5/6/15 3:31 AM, Timon Gehr wrote:
On 05/06/2015 10:01 AM, Andrei Alexandrescu wrote:
Consider:
void fun()
{
int x;
class C
{
...
}
}
Objects of type C have access to x because they have an .outer
pseudo-member.
Problem is, emplace() and any other in-situ initia
On 05/06/2015 10:01 AM, Andrei Alexandrescu wrote:
Consider:
void fun()
{
int x;
class C
{
...
}
}
Objects of type C have access to x because they have an .outer
pseudo-member.
Problem is, emplace() and any other in-situ initialization techniques
fail (e.g. emplace