I have a question. Can anyone tell me why someone would declare parameter r like that ?
Whats the difference between Record& r and Record(&r) ?
QDataStream& operator>>(QDataStream &s, Record(&r))
{
}
Thanks 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Record(&r)andRecord &rare identical type declarations. I don’t know why somebody would include the parentheses except for stylistic reasons. Perhaps it’s some cruft left over from a refactoring?