Здравствуйте, uzhas, Вы писали:
U>рекомендую обратиться к Стандарту за более точной формулировкой: U>начни отсюда
Да там есть прямым текстом про всю эту ситуацию рассказано:
The lifetime of a temporary bound to the returned value in a function return statement (6.6.3) is not
extended; the temporary is destroyed at the end of the full-expression in the return statement.