Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vector destruction - gcc
//gcc #include <iostream> #include <vector> struct A{ A(int i):i_(i){} ~A(){ std::cout << i_ << std::endl; } int i_; }; int main() { std::vector<A> a({0,1,2,3,4,5}); std::cout << "Destroy a " << std::endl; }
run
|
edit
|
history
|
help
0
Kalkulator z bajerami
replace_copy-30-Seconds-of-C++
Handling new types without using RTTI
decomposition
iviewb
mine
Abejas beta
fastest input taking for large files
string probe
Atul