I want the following struct as a class member, but I don't know the type of T
, so I need "declare" the struct at runtime.
struct Chunk (T) {
string id;
T[][] data;
}
class FileBla {
this() {
Chunk !int ck; // need to be turned in a class member
}
}
Should be missing something easy.