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
Recursive Sort Example
Throttle Example (Send two requests every two seconds)
Test3
regimeketopdf
(non?)-template template parameters for container stream insertion
nontype template parameter produced with decltype for function
void pointer
A
Делим на Ноль
__FUNCTION__ not a preprocessor macro on clang