RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Transfer Ownership
var foo = new uint8[12]; var bar = (owned) foo; assert (foo == null); The bar variable will own the value previously owned by foo.
Implicit Copy
var foo = new uint8[12]; var bar = foo; assert (foo != bar); In this example, the both foo and bar possess a strong reference, but since uint8[] only support single ownership, a copy is made.
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website