Even though it’s a few years later:
TArray<TStrongObjectPtr<UFZ_Cell>, TInlineAllocator<100000>> Cells;
You could also use TSharedPtr, but the TStrongObjectPtr is best for UObjects while TSharedPtr is more for default types like int, float etc.
Even though it’s a few years later:
TArray<TStrongObjectPtr<UFZ_Cell>, TInlineAllocator<100000>> Cells;
You could also use TSharedPtr, but the TStrongObjectPtr is best for UObjects while TSharedPtr is more for default types like int, float etc.