Fixed #5922 (FP: passedByValue for std::string::value_type)