Can you show us the context in which you're using this.
If you're doing something like
foo = foo;
Then I can see some deep problems in the code, like forever trying to append to itself.
Can you show us the context in which you're using this.
If you're doing something like
foo = foo;
Then I can see some deep problems in the code, like forever trying to append to itself.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.