Instantiation of forward referenced class from template mixin
Jan
danijans03 at student.kau.se
Sun Jan 13 03:26:04 PST 2008
Why does the code below generate the linking error undefined reference to <class>
template ok(T)
{
class T
{
}
}
class test;
mixin ok!(test);
void main()
{
test t = new test();
}
More information about the Digitalmars-d-learn
mailing list