Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vector destruction - visual studio
//visual studio #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
Please
log in
to post a comment.
hangman
Union and possible undefined behavior
#10.1
calling conventions and using an override class to change another classes values
PreprocessorVsNamespace
VS struct name enumerate
dump_own_process.cpp
-1 Girene Kadar Ortalama
GetFinalPathNameByHandle Behaviour
du
Please log in to post a comment.