boost-ext / di

C++14 Dependency Injection Library
https://boost-ext.github.io/di
1.17k stars 140 forks source link

Does not compile with C++ 17 #344

Closed juandent closed 6 years ago

juandent commented 6 years ago

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