Hi
I have a little question.
I have a String in my Program and this String should be immutable. But some methods have to replace something in the String and return it.
The problem is, that QString.replace returns a reference and so the immutable String is also changed.
Why replace returns a reference to the String instead of a proper String. So I have to copy the immutable String to another Variable and this is indricate.
Bookmarks