How to restore auto_ptr in Visual Studio C++17 : <p>This blog page mentions that Visual Studio removes some std features:</p>

<p><a href="https://blogs.msdn.microsoft.com/vcblog/2017/12/08/c17-feature-removals-and-deprecations/" rel="noreferrer">https://blogs.msdn.microsoft.com/vcblog/2017/12/08/c17-feature-removals-and-deprecations/</a></p>

<p>I have a project that consumes some C++ libraries that now use C++17 features. The project also consumes a third party library websocketpp (<a href="https://github.com/zaphoyd/websocketpp" rel="noreferrer">https://github.com/zaphoyd/websocketpp</a>) that still uses some now removed features. eg auto_ptr and binary_function. I'm getting compiler errors that they are not a member of 'std'.</p>

<p>The blog above mentions that removed features can be restored using a fine grain control. I'm thinking I could use that to get this project to compile for now. Longer term I will see about upgrading websocketpp to C++17 or replacing it with something else.</p>

<p>But, what is the magic to restore features? Is there something I need to #define? If so, what?</p>
