Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
What's the problem with this?
//clang 3.7.0 #include <functional> struct Foo { Foo() {} Foo(const Foo&) {} Foo(Foo&&) = delete; // comment this out and it works ?!? }; void func(Foo f) {} int main() { auto f = std::function<void(Foo)>(&func); return 0; }
run
|
edit
|
history
|
help
0
Throttle Example using a circular queue (Push all but 2 less than maxSize; then pop all but 2 of current size)
Maze problem solution
hello,world !ssn2019
Recursive Enumeration Example
Member inheritance
C++ Operator Overloading
Dequeue Array-Based Example
back_inserter example
Fun with Pointers #2
DESim Example with Hash Table