New blog post: Which Pointer Should I Use? (a primer on Rust's pointer types) http://pcwalton.github.com/blog/2013/03/09/which-pointer-should-i-use/ …
@wanderview Was thinking my next post would be "how to use &" and that would be a big part of it
-
-
@pcwalton That would be great! My guess is if std::vec is involved, you need ~. Is that true? opt_present vs opts_present in std::getopts -
@wanderview Both those functions use & pointers to vectors. They use & so that you can pass both @ vectors and ~ vectors to them. - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.