;
}
A a;
B b;
int n, m;
pragma(msg, partiallyQualifiedName!n); // S.n
pragma(msg, partiallyQualifiedName!(S2)); // S.S2
pragma(msg, partiallyQualifiedName!(typeof(a))); // A
pragma(msg, partiallyQualifiedName!(typeof(b))); // S.B
pragma(msg, partiallyQualifiedName
that
struct Context
{
enum Properties {}
static struct Info
{
@(0) Properties p; // <---
}
}
...
partiallyQualifiedName!p
...
resolves to Context.Properties instead of
dcompute.driver.ocl.context.Context.Properties, thus avoiding
many template instantiations.
A
that
struct Context
{
enum Properties {}
static struct Info
{
@(0) Properties p; // <---
}
}
...
partiallyQualifiedName!p
...
resolves to Context.Properties instead of
dcompute.driver.ocl.context.Context.Properties, thus avoiding
many template instantiations.
A
{
@(0) Properties p; // <---
}
}
...
partiallyQualifiedName!p
...
resolves to Context.Properties instead of
dcompute.driver.ocl.context.Context.Properties, thus avoiding
many template instantiations.
Alas typeof(p).stringof, which yields Properties, errors "No
such id