What's the life-time of a function parameter (citation needed)? [closed]

南笙酒味 提交于 2020-01-02 07:18:05

问题


Is the life-time of a function parameter equal of an unnamed temporary passed as an 'rvalue' reference (which is equal of the expression called the function)? My 'gcc' compiler shows that it is. But I want to see an actual standard document that states it too (possible the newest 'C++11' or 'C++14').

来源:https://stackoverflow.com/questions/27157204/whats-the-life-time-of-a-function-parameter-citation-needed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!