Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
boost::asyc fail with error C2280: attempting to reference a deleted function
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #define BOOST_THREAD_PROVIDES_FUTURE #define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION #define BOOST_THREAD_PROVIDES_EXECUTORS #include <boost/thread/future.hpp> class TestEx { public: void submit(std::function<void()>) { } bool try_executing_one() { return false; } bool closed() { return false; } void close() { } }; int main() { TestEx tex; boost::async( tex, []() {}); return 0; }
run
|
edit
|
history
|
help
0
constexpr internal error
Is min defined?
hangman
Default constructor - none defined
Insertion vs Sort
Buggy Strcat
parantheses matching using stack in C++ - test
Computing the factorial of an integer using factorial and iteration
CIS-2207 Week1 Assignment1 Company Devisions
UINT64 to UINT truncation