{"action":"opened","issue":{"url":"https://api.github.com/repos/boostorg/python/issues/137","repository_url":"https://api.github.com/repos/boostorg/python","labels_url":"https://api.github.com/repos/boostorg/python/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/python/issues/137/comments","events_url":"https://api.github.com/repos/boostorg/python/issues/137/events","html_url":"https://github.com/boostorg/python/issues/137","id":239575077,"number":137,"title":"boost stl_iterator bug","user":{"login":"yiakwy","id":8510840,"avatar_url":"https://avatars3.githubusercontent.com/u/8510840?v=3","gravatar_id":"","url":"https://api.github.com/users/yiakwy","html_url":"https://github.com/yiakwy","followers_url":"https://api.github.com/users/yiakwy/followers","following_url":"https://api.github.com/users/yiakwy/following{/other_user}","gists_url":"https://api.github.com/users/yiakwy/gists{/gist_id}","starred_url":"https://api.github.com/users/yiakwy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiakwy/subscriptions","organizations_url":"https://api.github.com/users/yiakwy/orgs","repos_url":"https://api.github.com/users/yiakwy/repos","events_url":"https://api.github.com/users/yiakwy/events{/privacy}","received_events_url":"https://api.github.com/users/yiakwy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-29T18:43:19Z","updated_at":"2017-06-29T18:43:19Z","closed_at":null,"body":"both boost157 and boost 1.64.0_1 cannot compile the init codes by firing:\r\n\r\n```C++\r\n/usr/local/Cellar/boost/1.64.0_1/include/boost/python/stl_iterator.hpp:48:16: error: implicit instantiation of undefined template\r\n      'boost::python::extract<double>'\r\n        return extract<ValueT>(this->impl_.current().get())();\r\n               ^\r\n/usr/local/Cellar/boost/1.64.0_1/include/boost/iterator/iterator_facade.hpp:549:20: note: in instantiation of member function\r\n      'boost::python::stl_input_iterator<double>::dereference' requested here\r\n          return f.dereference();\r\n                   ^\r\n/usr/local/Cellar/boost/1.64.0_1/include/boost/iterator/iterator_facade.hpp:655:42: note: in instantiation of function template\r\n      specialization 'boost::iterators::iterator_core_access::dereference<boost::python::stl_input_iterator<double> >' requested\r\n      here\r\n            return iterator_core_access::dereference(this->derived());\r\n                                         ^\r\n/Users/wangyi/Downloads/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:1135:19: note: \r\n      in instantiation of member function\r\n      'boost::iterators::detail::iterator_facade_base<boost::python::stl_input_iterator<double>, double,\r\n      std::__1::input_iterator_tag, double, long, false, false>::operator*' requested here\r\n        push_back(*__first);\r\n                  ^\r\nsrc/fft_module.cpp:46:23: note: in instantiation of function template specialization 'std::__1::vector<double,\r\n      std::__1::allocator<double> >::vector<boost::python::stl_input_iterator<double> >' requested here\r\n        new (storage) Container(\r\n                      ^\r\nsrc/fft_module.cpp:24:76: note: in instantiation of function template specialization\r\n      'iterable_converter::construct<std::__1::vector<double, std::__1::allocator<double> > >' requested here\r\n                                                      &iterable_converter::construct<Container>,\r\n                                                                           ^\r\nsrc/fft_module.cpp:58:26: note: in instantiation of function template specialization\r\n      'iterable_converter::from_python<std::__1::vector<double, std::__1::allocator<double> > >' requested here\r\n    iterable_converter().from_python<std::vector<double>>();\r\n                         ^\r\n/usr/local/Cellar/boost/1.64.0_1/include/boost/python/object_core.hpp:331:27: note: template is declared here\r\ntemplate <class T> struct extract;\r\n\r\n```\r\n\r\nthis is a serious bug when extend python using c++ with vector input convertor"}}
{"actor":{"display_login":"yiakwy"}}