-
-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string insert vs assign #960
Comments
What do you mean by "repair"? |
the test I did, I used insert and it didn't change (update) the size. |
Can you give an example of an insert not updating the size? |
Looks I missed the propose of insert, it works on a string already created and doesn't change the original string size? |
When you call
It is expecting the first parameter to be the iterator position where you want the string to be inserted. You are sending it a null iterator. I assume you meant to call |
It looks insert does not "repair" the string. should it? or should put on documentation something about it?
The text was updated successfully, but these errors were encountered: