Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpp/2019/08/10/Cpp-RVO(Return-Value-Optimization) #16

Open
utterances-bot opened this issue Feb 13, 2023 · 1 comment
Open

cpp/2019/08/10/Cpp-RVO(Return-Value-Optimization) #16

utterances-bot opened this issue Feb 13, 2023 · 1 comment

Comments

@utterances-bot
Copy link

C++ RVO, NRVO에 대해서 알아보자. - dydtjr1128's Blog

Intro

C/C++를 사용하는 이유 중 하나로는 빠른 속도와 커스터마이징 가능한 자언관리 등의 최적화를 위해서 사용할 것이다. 이러한 부분에서 코드를 개발하면서, 컴파일러...

https://dydtjr1128.github.io/cpp/2019/08/10/Cpp-RVO(Return-Value-Optimization).html

Copy link

와! 드디어 왜 클래스를 반환할 때 임시객체를 대입해야 하는지 이해했네요!! 감사합니다. 근데 릴리즈모드에서는 하나 안하나 차이가 없기 때문에 굳이 신경쓸 필요는 없겠네요 ㅋㅋ;;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants