S
Suman
Hello All,
Is the following fragment well defined?
std::string some_str("Hello World");
....
some_str.replace(some_str.find("Wor"), strlen("Wor"), other_str);
Or does the nested call on the same string object invoke UB?
Regards,
Suman
Is the following fragment well defined?
std::string some_str("Hello World");
....
some_str.replace(some_str.find("Wor"), strlen("Wor"), other_str);
Or does the nested call on the same string object invoke UB?
Regards,
Suman