Why? I see on cppreference that it has been in standard since C++11. Since the solution has already tested if the result is empty, I think there won't be any undefined behavior here.
Yes, actually we have a problem right here. Just checked and std::string does not terminates in NULL, I thought that was the case.
Loading collection data...
Why? I see on cppreference that it has been in standard since C++11. Since the solution has already tested if the result is empty, I think there won't be any undefined behavior here.
Yes, actually we have a problem right here. Just checked and std::string does not terminates in NULL, I thought that was the case.