On 2/4/2014 3:03 PM, Adam D. Ruppe wrote:
So bottom line, you don't duplicate functions for the different types. You borrow references for processing (analogous to implementing algorithms with ranges) and own references for storing... which you need to know about, so only one type makes sense.
What happens with this:
T identity(T t) { return t; }
?
