Skip to content

error C4996: 'std::result_of<T>': warning STL4014: std::result_of and std::result_of_t are deprecated in C++17. They are superseded by std::invoke_result and std::invoke_result_t

As title in vs2019 1.65.1 with debug configurations ,could properly complied on release configurations. [RGBA(0,255,0,0.3)][ at \eigen\Eigen\src\Core\util\Meta.h(441,1)] While i defined _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS both preprocessor and first line of main cpp,neither of them works. suspect it's visual studio bug.

Edited by MrWan