QString test="privet";func1(test);...........................::func1(QString &test){QString test2=test;}
QString f(const QString& s){ QString ret = s; return ret;}
QString f(QString* s){ QString ret = *s; return ret;}
bool f(int i, QString* s = 0){ if(i != 2) { if(s) *s = QString("error: i != 2"); return false; } return true;}