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
<string> No indirect include of <errno.h>
overloadresolution
How to test call member?
Virtual Function Example
SceneGraph Interviewee Task
Rounding float to nearest 1000
vf
Pascals Triangle
Deleted special operations are propagated to derived class
C++ Operator Overloading