Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
illegal instruction (SIGILL)
//Title of this code //clang 3.6.0 #include <iostream> #include <iostream> // std::cout #include <iterator> // std::back_inserter #include <vector> // std::vector #include <algorithm> // std::copy int main() { std::vector<int> foo = {1,2,3,4,5}; std::vector<int> bar; std::copy_if(foo.begin(), foo.end(), bar.begin(),[](int x) { return x % 2 == 0; } ); }
run
|
edit
|
history
|
help
0
mine
std::set custom ordering with composition
void pointer
mddd
List comprehension in C++ using functional patterns
Throttle Example in C++ (80 requests every 2 seconds)
Vector of pointer of P...
return reference (clang)
C++ standard
Clang-IsBaseOf