{"action":"opened","issue":{"url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/313","repository_url":"https://api.github.com/repos/ImageMagick/ImageMagick","labels_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/313/comments","events_url":"https://api.github.com/repos/ImageMagick/ImageMagick/issues/313/events","html_url":"https://github.com/ImageMagick/ImageMagick/issues/313","id":193086080,"number":313,"title":"Magick++ is not compliant to C++1z","user":{"login":"SirRade","id":9047632,"avatar_url":"https://avatars.githubusercontent.com/u/9047632?v=3","gravatar_id":"","url":"https://api.github.com/users/SirRade","html_url":"https://github.com/SirRade","followers_url":"https://api.github.com/users/SirRade/followers","following_url":"https://api.github.com/users/SirRade/following{/other_user}","gists_url":"https://api.github.com/users/SirRade/gists{/gist_id}","starred_url":"https://api.github.com/users/SirRade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirRade/subscriptions","organizations_url":"https://api.github.com/users/SirRade/orgs","repos_url":"https://api.github.com/users/SirRade/repos","events_url":"https://api.github.com/users/SirRade/events{/privacy}","received_events_url":"https://api.github.com/users/SirRade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T10:45:21Z","updated_at":"2016-12-02T10:45:21Z","closed_at":null,"body":"Magic++ contains hundreds of syntax errors since [std::unary_function<>](http://en.cppreference.com/w/cpp/utility/functional/unary_function) got removed from the C++ standard. In particular, Visual Studio 2017 RC with the /std:c++latest switch enabled refuses to compile it.  \r\nThis is causing our library for artificial intelligence, [Hippocrates](https://github.com/SirRade/Hippocrates), great trouble, as we planned to use Magick++ for it's [image recognition module](https://github.com/IDPA16/CNN-Code).  \r\n\r\nFortunately, the fix is rather simple: Because std::unary_function<> was guaranteed to be an empty base, you can either\r\n- Just remove the unnecessary inheritance completly\r\n- replace it by an empty class called `Magick::unary_function` or, for no replacement, even `Magick::std::unary_function`\r\n\r\nThis fix should take at most 15 minutes. Should I create a pull request?"}}
{"actor":{"display_login":"SirRade"}}