What is the best way to deal with this?
Steven Schveighoffer
schveiguy at yahoo.com
Sat Feb 23 19:59:36 PST 2013
On Sat, 23 Feb 2013 22:53:20 -0500, Martin <martinbbjerregaard at gmail.com>
wrote:
> Okay maybe that wasn't the best example - but what I'm wondering is: Is
> there a way to do like a TestClass<?> globalInstances like in Java?
Aha! This is java code :)
Note that Java generics are NOT templates. Java uses one instantiation of
code for all generic code.
D is much different (and better IMO)
-Steve
More information about the Digitalmars-d
mailing list