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
Test titlu
6 7
isnan_constexpr
BucketSort
std::reference_wrapper
insertion sort
projecte1
C++ Register
Initialise arrays with N number
C++ standard