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 RETURN_VALUE_POLICY_DWA2002131_HPP 6 # define RETURN_VALUE_POLICY_DWA2002131_HPP 7 8 # include <boost/python/detail/prefix.hpp> 9 # include <boost/python/default_call_policies.hpp> 10 11 namespace boost { namespace python { 12 13 template <class ResultConverterGenerator, class BasePolicy_ = default_call_policies> 14 struct return_value_policy : BasePolicy_ 15 { 16 typedef ResultConverterGenerator result_converter; 17 }; 18 19 }} // namespace boost::python 20 21 #endif // RETURN_VALUE_POLICY_DWA2002131_HPP 22