我正在尝试获取const QString &a
对我的函数之外的引用,即
void function(const QString &a)
{
//code
}
void otherFunction()
{
// code <<<<<
// I'm unsure how I would be able to get a reference to
// const QString &a here and use it.
}
我怎样才能获得对a
in的引用otherFunction
?