I tried the following, which does not work. Why?
std::string s = "hello" + "world";
Why did the C++ standard library developers decide not to overload operator+ to implement char* concatenation? Would it not make people's lives simpler?
I tried the following, which does not work. Why?
std::string s = "hello" + "world";
Why did the C++ standard library developers decide not to overload operator+ to implement char* concatenation? Would it not make people's lives simpler?