boostorg / bind

Boost.org bind module
http://boost.org/libs/bind
27 stars 49 forks source link

VS2017 warning STL4007 in boost/protect.hpp #18

Open k15tfu opened 5 years ago

k15tfu commented 5 years ago

boost::protect(std::bind()) warns about result_type which is deprecated since C++17:

2>.../boost/bind/protect.hpp(28): warning C4996: 'std::_Weak_result_type<std::_Is_memfunptr<void (__thiscall jetbrains::controller::pipe_client::* )(jetbrains::controller::pipe_client::client_context_ptr,uint32_t,jetbrains::controller::pipe_client::monitoring_context_ptr)>,void>::result_type': warning STL4007: Many result_type typedefs and all argument_type, first_argument_type, and second_argument_type typedefs are deprecated in C++17.