Rationale behind QString plus operator returning const

68 views Asked by At

Is there a rationale why the + operator taking a QString returns const QString instead of QString?

This is different to the + operator for std::basic_string.

I assume this choice for QString was made delibrately and is probably documented somewhere, but I couldn't find this kind of information.

0

There are 0 answers