cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

http_request and http_response doesn't satisfy the rule of five

Open evilenzo opened this issue 3 years ago • 1 comments

As you can see in https://github.com/microsoft/cpprestsdk/blob/master/Release/include/cpprest/http_msg.h http_request and http_response don't satisfy the rule of five and also have a non-trivial destructor. So no move will work on this types what is actually sad

evilenzo avatar Dec 13 '21 17:12 evilenzo

Pull Request: https://github.com/microsoft/cpprestsdk/pull/1668

evilenzo avatar Dec 13 '21 17:12 evilenzo