Well, addr and ptr are explicitely unsafe. cstring isn't and will still be 
invalidated once x goes out of scope. Ideally it would require you to make a 
deep copy of the cstring somewhere or explicitely shallow copy, I guess?

Reply via email to