[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/FadyEssam/python/develop/include/boost/python/implicit.hpp [Back]  [Original]

// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef IMPLICIT_DWA2002325_HPP
# define IMPLICIT_DWA2002325_HPP

# include 
# include 
# include 
# include 
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
# include 
#endif
# include 

namespace boost { namespace python { 

template 
void implicitly_convertible(boost::type* = 0, boost::type* = 0)
{
    typedef converter::implicit functions;
    
    converter::registry::push_back(
          &functions::convertible
        , &functions::construct
        , type_id()
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
        , &converter::expected_from_python_type_direct::get_pytype
#endif
        );
}

}} // namespace boost::python

#endif // IMPLICIT_DWA2002325_HPP

Web Proxy Viewer  |  New URL  |  Original Page