Created
January 25, 2016 07:18
-
-
Save tetsuok/bc64200ac1d4c59cf199 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
#include <vector> | |
#include <stdio.h> | |
using namespace std; | |
class Test { | |
public: | |
Test(int) { printf("ctor\n"); } | |
Test(const Test&) { printf("copy ctor\n"); } | |
}; | |
int main() { | |
vector<Test> v; | |
v.push_back(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment