So I have a data implementation which would be perfect for a linked list, but would suffer considerably using a TArray, however when I try to store a reference pointer in TDoubleLinkedList and then try to retrieve that pointer using TDoubleLinkedList::GetTail() it does not allow me to access UInstancedStaticMeshComponent members even if I try to cast directly to UInstancedStaticMeshComponent.
Here is the exact snippet of code I’m using
UInstancedStaticMeshComponent* Jim;
boxy.AddTail(Jim);
boxy.GetTail()->AddInstanceWorldSpace(Transform); //this is the line that returns error from compiler
the error returned is No member named ‘AddInstanceWorldSpace’ in TDoubleLinkedList::TDoubleLinkedListNode
Since the documentation for TDoubleLInkedList is pretty much non-existent, any help here would be highly appreciated.