{"action":"created","issue":{"url":"https://api.github.com/repos/CGAL/cgal/issues/1449","repository_url":"https://api.github.com/repos/CGAL/cgal","labels_url":"https://api.github.com/repos/CGAL/cgal/issues/1449/labels{/name}","comments_url":"https://api.github.com/repos/CGAL/cgal/issues/1449/comments","events_url":"https://api.github.com/repos/CGAL/cgal/issues/1449/events","html_url":"https://github.com/CGAL/cgal/pull/1449","id":176541920,"number":1449,"title":"switch to boost::bind","user":{"login":"afabri","id":3263539,"avatar_url":"https://avatars.githubusercontent.com/u/3263539?v=3","gravatar_id":"","url":"https://api.github.com/users/afabri","html_url":"https://github.com/afabri","followers_url":"https://api.github.com/users/afabri/followers","following_url":"https://api.github.com/users/afabri/following{/other_user}","gists_url":"https://api.github.com/users/afabri/gists{/gist_id}","starred_url":"https://api.github.com/users/afabri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afabri/subscriptions","organizations_url":"https://api.github.com/users/afabri/orgs","repos_url":"https://api.github.com/users/afabri/repos","events_url":"https://api.github.com/users/afabri/events{/privacy}","received_events_url":"https://api.github.com/users/afabri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T03:49:05Z","updated_at":"2016-09-13T14:21:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CGAL/cgal/pulls/1449","html_url":"https://github.com/CGAL/cgal/pull/1449","diff_url":"https://github.com/CGAL/cgal/pull/1449.diff","patch_url":"https://github.com/CGAL/cgal/pull/1449.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/CGAL/cgal/issues/comments/246697094","html_url":"https://github.com/CGAL/cgal/pull/1449#issuecomment-246697094","issue_url":"https://api.github.com/repos/CGAL/cgal/issues/1449","id":246697094,"user":{"login":"lrineau","id":5746675,"avatar_url":"https://avatars.githubusercontent.com/u/5746675?v=3","gravatar_id":"","url":"https://api.github.com/users/lrineau","html_url":"https://github.com/lrineau","followers_url":"https://api.github.com/users/lrineau/followers","following_url":"https://api.github.com/users/lrineau/following{/other_user}","gists_url":"https://api.github.com/users/lrineau/gists{/gist_id}","starred_url":"https://api.github.com/users/lrineau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrineau/subscriptions","organizations_url":"https://api.github.com/users/lrineau/orgs","repos_url":"https://api.github.com/users/lrineau/repos","events_url":"https://api.github.com/users/lrineau/events{/privacy}","received_events_url":"https://api.github.com/users/lrineau/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T14:21:07Z","updated_at":"2016-09-13T14:21:07Z","body":"The Travis CI test showed [compilation errors]:\r\n```\r\n[ 74%] Building CXX object examples/STL_Extension/CMakeFiles/min_element_if_example.dir/min_element_if_example.cpp.o\r\n/home/travis/build/CGAL/cgal/STL_Extension/examples/STL_Extension/min_element_if_example.cpp:25:17: error: \r\n      call to 'bind2nd' is ambiguous\r\n                          compose1_1(bind2nd(greater< int >(), 0),\r\n                                     ^~~~~~~\r\n/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/backward/binders.h:162:5: note: \r\n      candidate function [with _Operation = std::greater<int>, _Tp = int]\r\n    bind2nd(const _Operation& __fn, const _Tp& __x)\r\n    ^\r\n/usr/include/boost/functional.hpp:289:33: note: candidate function [with\r\n      Operation = std::greater<int>]\r\n    inline binder2nd<Operation> bind2nd(const Operation &op,\r\n                                ^\r\n1 error generated.\r\nmake[3]: *** [examples/STL_Extension/CMakeFiles/min_element_if_example.dir/min_element_if_example.cpp.o] Error 1\r\n```\r\n\r\n[compilation errors]: https://travis-ci.org/CGAL/cgal/jobs/159487515#L3558\r\n\r\n\r\nWhat is more, the PR does not say what you are trying to fix with it. Why switch to Boost functional library? If that is because part of the `<functional>` STL header has been deprecated since C++11, then I think the better switch would be to opt for the C++11 equivalent: lambda expressions.\r\n"}}
{"actor":{"display_login":"lrineau"}}