> > Oops ;/ How do I get the number of type arguments if I don't know them > yet? I know this sort of seems wrong but somehow, to know how to alias the > class I need to know it's number of arguments. (I don't think it makes too > much sense with the type system but not sure how to solve the following > problem without it: > > http://forum.dlang.org/thread/**wacupbnlqgrfhaebdssd@forum.** > dlang.org#post-**yhhtuojlsgiykyrfhngl:40forum.**dlang.org<http://forum.dlang.org/thread/wacupbnlqgrfhaebd...@forum.dlang.org#post-yhhtuojlsgiykyrfhngl:40forum.dlang.org> > ) >
I saw your other post. I'll try to understand what you're trying to do in the dpaste you posted. I'm not sure I get your question, though. If a type is not known in the current scope, you cannot determine its number of arguments, because, well, it's not known.