1 // Copyright David Abrahams 2002.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef BY_VALUE_DWA20021015_HPP
6 # define BY_VALUE_DWA20021015_HPP
8 # include <boost/python/detail/prefix.hpp>
10 # include <boost/python/to_python_value.hpp>
11 # include <boost/type_traits/add_reference.hpp>
12 # include <boost/type_traits/add_const.hpp>
14 # include <boost/python/detail/value_arg.hpp>
16 namespace boost { namespace python {
18 struct return_by_value
23 typedef to_python_value<
24 typename detail::value_arg<R>::type
29 }} // namespace boost::python
31 #endif // BY_VALUE_DWA20021015_HPP