Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:46:10

0001 // Copyright David Abrahams 2002.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 #ifndef BY_VALUE_DWA20021015_HPP
0006 # define BY_VALUE_DWA20021015_HPP
0007 
0008 # include <boost/python/detail/prefix.hpp>
0009 
0010 # include <boost/python/to_python_value.hpp>
0011 # include <boost/python/detail/type_traits.hpp>
0012 
0013 # include <boost/python/detail/value_arg.hpp>
0014 
0015 namespace boost { namespace python { 
0016 
0017 struct return_by_value
0018 {
0019     template <class R>
0020     struct apply
0021     {
0022        typedef to_python_value<
0023            typename detail::value_arg<R>::type
0024        > type;
0025     };
0026 };
0027 
0028 }} // namespace boost::python
0029 
0030 #endif // BY_VALUE_DWA20021015_HPP