title: What is reference collapsing in c++ and how does it work?
body: <p>I was trying to find resources to learn reference collapsing but couldnt find one. I am currently reading c++ primer but its explanation on reference collapsing is very confusing. Can anyone over here explain it to me with an example?</p>