Danny Go
MModular
•Created by Danny Go on 9/18/2023 in #questions
Pointer to a custom struct?
Is it possible to create pointers to a custom struct instance, and be able to load the instance from the pointer?
According to the AI bot, "Mojo's Pointer struct is designed to work with basic types like Int, and it's not clear if it can directly handle custom structs".
Here is my latest attempt (a linked list):
Which got an error:
6 replies