I would like to have a confirmation about my understanding of slices. Given I pass a slice of struct instances to a function like this:
fn someFunc(f: []Foo) void {}
Inside of that function I can e.g. sort the instances of Foo or change the contents of any Foo in that slice.
But! If I store "f" inside of this function to another, let's say global struct instance as a variable, I actually store a temprorary stack version of that slice (ptr) instead of the "real" one, right?