Created
December 29, 2013 11:26
-
-
Save VitaminaCPP/8169454 to your computer and use it in GitHub Desktop.
Existen muchos casos en que se puede aplicar RVO, uno de los más habituales es el bucle for
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Se aplica RVO, porque el retorno de i++ NO SE USA | |
for (int i = 0; i < 4; i++) | |
{ | |
std::cout << i << '\n'; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment