Closed MovingtoMars closed 8 years ago
How are references supposed to work? Are they C++ like (as if they are values) or Rust-like (where they are pointer which can't be returned from a function).
Right now, I'm assuming they're Rust-like for their ability to be casted to raw pointers.
How are references supposed to work? Are they C++ like (as if they are values) or Rust-like (where they are pointer which can't be returned from a function).
Right now, I'm assuming they're Rust-like for their ability to be casted to raw pointers.