On Saturday, 28 May 2016 at 04:15:45 UTC, Manu wrote:
This is only true for the owner. If we had 'scope', or something like it (ie, borrowing in rust lingo), then the fat slice wouldn't need tobe passed around
Right, I agree - if we keep the slice just the way it is now, it all still works if you borrow correctly!
(BTW, I don't think we even need this to be strictly @safe, though it would be nice if it was tested, we could say @system getSlice and potentially change it to @safe later.)