Why concatenation of two const char* is not allowed in C++?

Viewed 1464

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?

3 Answers
Related