0

I've stumbled upon strange behavior when using operator+ on QStrings until I found out that QString doesn't overload operator+ (in contrary to std::string). What reasons are there not to do it (especially since they overloaded quite a bunch of other operators)?

Edit: Sorry, I have looked up the wrong section in the docs. Can someone please close the question?

Sanyam Goel
  • 2,138
  • 22
  • 40
A Friedrich
  • 593
  • 6
  • 11

1 Answers1

0

It does provides the + operator, but the question is what you have at the right hand side?