> Deref can happen after it - when you want to extract value under the ref. 
> Maybe some specialization for the '[]' could help with it, but, maybe, it 
> should be responsibility of the lent - to avoid the optimization for int (BTW 
> - looks like Rust)

What you say makes no sense.

BTW: I don't care if it looks like Rust or not, Rust does the borrowing stuff 
very well and there is no shame in copying its good ideas.

Reply via email to