File indexing completed on 2025-01-19 09:46:10
0001
0002
0003
0004
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 }}
0029
0030 #endif