That would be syntactically correct, but still wrong: my_str is a local array, whereas the node must outlive the function call, so you would end up with a pointer to something that no longer exists. Hence in your case you need to do copying, not aliasing.Originally Posted by cooper1200