UE4 Equivalent of Queue<"T">

There is an Equivalent of Queue<“T”> from C# in Unreal engine ? (T = type of element)

I’m trying to remake something from Unity in Ue4.

And in the code, there is this var, that i don’t understand how to make it in unreal :

private Queue<Slot> workArea;

No, use TArrays.

Ok, lets try that

Yes, TQueue is included in UE4.

You can find more container types included in the engine here.

1 Like

no it is not correct. there is TQueue. and array and queue are fundamentally different thing. not wise to interchangeably be used

You dont use array for everything