Code review comment for lp:~vanvugt/unity/regionalDamage

Revision history for this message
Tim Penhey (thumper) wrote :

You are half right.

Temporaries exist for the duration of the expression they were created in.

Except if they are bound to a reference, in which case they live for the duration of the life of the reference, except in certain situation covered in section 12.2.5 of the standard.

I learned something today.

review: Approve

« Back to merge proposal