Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vector destruction - clang
//clang #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
Palindrome Recursive Function Example
set/map equal_range bug in libc++
non-template template parameters for container stream insertion: SFINAE
Tree Example
my override
specialized template
unordered graphs search
sfinae
U2
selection sort