diff --git a/include/boost/python/suite/indexing/element_proxy.hpp b/include/boost/python/suite/indexing/element_proxy.hpp index 8a5d11c1..0eaac8ac 100755 --- a/include/boost/python/suite/indexing/element_proxy.hpp +++ b/include/boost/python/suite/indexing/element_proxy.hpp @@ -1,4 +1,3 @@ -// -*- mode:c++ -*- // // Header file element_proxy.hpp // @@ -22,13 +21,9 @@ #define BOOST_PYTHON_INDEXING_ELEMENT_PROXY_HPP #include -#include - #include #include -// More headers are included near the bottom of this file - namespace boost { namespace python { namespace indexing { template class element_proxy @@ -171,30 +166,4 @@ namespace boost } } -// Including more headers here is a little weird, but it make sure -// that our overload of get_pointer is in scope during both -// name-lookup phases (if the compiler implements two-phase name -// lookup). get_pointer is used unqualified within some templates used -// by register_ptr_to_python. - -#include -#include - -namespace boost { namespace python { namespace indexing { - template - struct value_traits > - : public value_traits - { - template - static void visitor_helper (PythonClass &, Policy const &) - { - typedef element_proxy element_proxy_; - typedef typename ContainerProxy::raw_value_type raw_value_type; - - boost::python::register_ptr_to_python(); - boost::python::implicitly_convertible(); - } - }; -} } } - #endif // BOOST_PYTHON_INDEXING_ELEMENT_PROXY_HPP