Can I assign to function parameter which is const reference to QString a default value? Something like
void someFun(const QString & param = "")
Actually, I can, it compiles and runs as expected, but I', a little bit confused with it, 'cos not sure what is going on under the hood. So here I have reference to a QString object that is created on the stack and have lifetime of this function?