I recently came to know that the operator+ is overloaded in c++ to concatenate two strings but it is highly inefficient(Complexity: linear in terms of resulting string). I searched about it but could only found either the use of Ropes or operator +=. Is there any other way of joining two strings efficiently in C++ other than these 2?
↧