Is there a purpose in pure odin for the -> operator? I understand the documentation says its use is intended with vtables which I believe Odin doesn't have use for by design, but is there any use for it in pure Odin or only to make interfacing with like C++ libraries more convenient?
ex.
just a simple possibly naive test:
Foo :: struct{
msg: string
}
show_foo::proc(foo: Foo){
fmt.println(foo.msg)
}
main :: proc(){
foo::Foo{msg="Hello"}
foo->show_foo()
}
Error: 'foo' of type 'Foo' has no field 'show_foo'
Thanks!