Warning, file /include/boost/python/implicit.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005 #ifndef IMPLICIT_DWA2002325_HPP
0006 # define IMPLICIT_DWA2002325_HPP
0007
0008 # include <boost/python/detail/prefix.hpp>
0009 # include <boost/type.hpp>
0010 # include <boost/python/converter/implicit.hpp>
0011 # include <boost/python/converter/registry.hpp>
0012 #ifndef BOOST_PYTHON_NO_PY_SIGNATURES
0013 # include <boost/python/converter/pytype_function.hpp>
0014 #endif
0015 # include <boost/python/type_id.hpp>
0016
0017 namespace boost { namespace python {
0018
0019 template <class Source, class Target>
0020 void implicitly_convertible(boost::type<Source>* = 0, boost::type<Target>* = 0)
0021 {
0022 typedef converter::implicit<Source,Target> functions;
0023
0024 converter::registry::push_back(
0025 &functions::convertible
0026 , &functions::construct
0027 , type_id<Target>()
0028 #ifndef BOOST_PYTHON_NO_PY_SIGNATURES
0029 , &converter::expected_from_python_type_direct<Source>::get_pytype
0030 #endif
0031 );
0032 }
0033
0034 }}
0035
0036 #endif