Created
June 21, 2016 23:33
-
-
Save olafurw/5099c3ae62bb788e91729cdd3905a942 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
double Foo( | |
const double aBar, | |
const double aBaz) | |
{ | |
return aBar + aBaz; | |
} | |
int main() | |
{ | |
const auto result = Foo(1.2, 2.3); | |
return static_cast<int>(result); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment