Created
September 22, 2014 22:15
-
-
Save VitaminaCPP/b915718c10f4b2b1c75b to your computer and use it in GitHub Desktop.
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
const std::string HolaMundo("Hola Mundo!"); | |
// auto se deduce como decltype(HolaMundo) | |
// que resulta ser const std::string | |
auto copia_constante() -> decltype(HolaMundo) | |
{ | |
return HolaMundo; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment