1 /** Ownership and borrowing á lá Rust. 2 3 <ul> 4 5 <li> TODO Override all members with write checks. See http://forum.dlang.org/post/mailman.63.1478697690.3405.digitalmars-d-learn@puremagic.com 6 7 <li> TODO Perhaps disable all checking (and unittests) in release mode (when 8 debug is not active), but preserve overloads sliceRO and sliceRW. If not use 9 `enforce` instead. 10 11 <li> TODO Implement and use trait `hasUnsafeSlicing` 12 13 <li> TODO Add WriteBorrowedPointer, ReadBorrowedPointer to wrap `ptr` access to Container 14 15 <li> TODO Is sliceRW and sliceRO good names? 16 17 <li> TODO can we make the `_range` member non-visible but the alias this 18 public in ReadBorrowed and WriteBorrowed 19 20 </ul> 21 */ 22 module nxt.borrown; 23 24 public import nxt.owned; 25 public import nxt.borrowed;