asio icon indicating copy to clipboard operation
asio copied to clipboard

Add asio::experimental::promise a default constructor and move assignment operator

Open zagrichanskiy opened this issue 10 months ago • 0 comments

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.

zagrichanskiy avatar Apr 23 '24 13:04 zagrichanskiy