bcc
bcc copied to clipboard
[FR] Generics argument overloading
Hey,
I'm not sure this is at all possible, but it would be nice to be able to overload generic types with a different number of arguments:
Framework BRL.Blitz
Import BRL.Collections
Type TTreeMap<KA,KB,V>
EndType
Local map2d:TTreeMap<String, String> = New TTreeMap<String, String>()
map2d["foo"] = "bar"
Local map3d:TTreeMap<String, String, String> = New TTreeMap<String, String, String>()
map3d["foo", "fee"] = "bar"
(Pseudo-code)
Have a good day!