I was a bit stuck on this (complile errors) because I tried to call the constructor with the “new” keyword, I guess its my habbit from Java/C# programming.
I noticed only later that you didn’t use “new” and after some search on Internet, I found out that in C++ “new” is used more sparingly because of its allocation of memory (different to other languages). Also I understood from you that strucs are not used like classes with addresses but are directly used, so this is probably why not to use “new” (please do correct me if I am wrong).
I just thought to share this in case someone runs against this issue.