
10 Mar
2012
10 Mar
'12
10:33 a.m.
Hi, "trim_copy", like other string algos, returns by value, it can't leak. The returned object is a different object allocated on the stack, it will destroyed when it goes out of stack. regards, Julien