Is it possible to provide default constructor and move assignment to the asio::experimental::promise? We lack the ability to hold the promise as a default constructible class member data. Throwing it onto the heap looks redundant considering that the promise already has its implementation in the shared pointer.
Hey guys,
Is it possible to provide default constructor and move assignment to the
asio::experimental::promise
? We lack the ability to hold the promise as a default constructible class member data. Throwing it onto the heap looks redundant considering that the promise already has its implementation in the shared pointer.