Created
September 18, 2012 15:10
-
-
Save yifu/3743667 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #include <iostream> | |
| bool f (const bool& b = bool(true)) | |
| { | |
| return b; | |
| } | |
| using namespace std; | |
| int main() | |
| { | |
| cout << "hello world" << endl; | |
| bool a = true; | |
| f(a); | |
| f(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment