Wednesday, 7 August 2013

Why doesn't QString overload operator+?

Why doesn't QString overload operator+?

I've stumbled upon strange behaviour 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)?

No comments:

Post a Comment