[No] array<> within array<>

Moderator: GZDoom Developers

array<> within array<>

Postby Tartlman » Mon Nov 11, 2019 8:45 pm

to put it simply, i just want to be able to do something like "array<array<int> > myarray". While this is already doable if we shove the other array in a dummy class, it's an ugly workaround and I don't really see a reason why this shouldn't be a thing.
User avatar
Tartlman
shitposting with zscript
 
Joined: 11 Oct 2018
Location: meme hell
Discord: bogus#2947
Github ID: boogiebogus

Re: array<> within array<>

Postby Graf Zahl » Tue Nov 12, 2019 1:17 am

No, this isn't possible. The reason for this is that each type of array needs a native backing implementation and a native export interface. For the seven basic types this is manageable, but as things get more complex this is no longer the case.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests