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
nontype template parameter produced with decltype for function
enum operator
Print system time
template specialization inheritance problem
Example
Copy uint64 data into uint32 with padding
Example Node Program
First test
specialized template
simple in-memory b-tree