chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.86k stars 1.21k forks source link

MSVC 2017 Update 5 provokes warning C4996 due to the use of deprecated result_of #598

Open ghost opened 3 years ago

ghost commented 3 years ago

@mkurdej commented on Feb 12, 2018, 9:33 AM UTC:

std::result_of and std::result_of_t are deprecated in C++17 and std::invoke_result, std::invoke_result_t should be used instead.

This issue was moved by chriskohlhoff from boostorg/asio#83.

JoeLoser commented 2 years ago

Just filed https://github.com/chriskohlhoff/asio/issues/912 since this is a hard error in llvm13 libc++.