C++ fix: overload << operator for the custom string