I am using Visual Studio 2017 version 15.8.1. When choosing language standard C++ 14 ISO it compiles fine- but not with C++ 17 ISO.
Expected Behavior
I was expecting correct compilation with ISO C++ 17
Actual Behavior
Does not compile except if the language version is ISO C++ 14.
it does not find std::unary_function even though functional is #included. Any workaround for this?
I realize C++ 17 has removed unary_function -- what can I replace it with?
I am using Visual Studio 2017 version 15.8.1. When choosing language standard C++ 14 ISO it compiles fine- but not with C++ 17 ISO.
Expected Behavior
I was expecting correct compilation with ISO C++ 17
Actual Behavior
Does not compile except if the language version is ISO C++ 14. it does not find std::unary_function even though functional is #included. Any workaround for this? I realize C++ 17 has removed unary_function -- what can I replace it with?
Steps to Reproduce the Problem
1. 1. 1.
Specifications