Equal of std::array

What is the Unreal equal of std::array?


In the Unreal Engine 4, TArray class is available, which represents a dynamically sized array of typed elements.

If you like to learn more about it, please go here:

Hope this helped!

Good luck!

std::array is fixed-size while TArray is dynamic, am i wrong?

Of course performance is not a great concern, just wanted to do things the right way.

Please note that you can use standard C array in the Unreal Engine 4.
You can also use TFixedAllocator to create a container with a variable number of elements that uses a compile-time amount of space without any heap allocation:

 TArray<T, TFixedAllocator<64>> Array;

@ Correct.