When people say "temporary", they often refer to rvalues. These are objects created and not tied to the variable name, therefore they do not live outside the current statement. IE:
int foo()
{
Do( Object() );
}
The created object () is the value of r that you can hear, called temporary.
source
share