I will link Jameson’s important comment from that thread, and emphasize below:
What is wrong with the solution he presented, where you store the function in the struct and access it by value as above, why does it need to be done in the type domain?
I will link Jameson’s important comment from that thread, and emphasize below:
What is wrong with the solution he presented, where you store the function in the struct and access it by value as above, why does it need to be done in the type domain?