Warnings Regarding Temporaries and Their Meaning
The following code causes a somewhat cryptic warning message: struct Employee{ long ID; string name;};Employee emp;void func(int& id) { id=0;}// warning below issued for the following call:func(emp.ID);