File indexing completed on 2025-01-18 09:50:38
0001
0002
0003
0004 #ifndef VALUE_ARG_DWA2004312_HPP
0005 # define VALUE_ARG_DWA2004312_HPP
0006
0007 # include <boost/python/detail/copy_ctor_mutates_rhs.hpp>
0008 # include <boost/mpl/if.hpp>
0009 # include <boost/python/detail/indirect_traits.hpp>
0010
0011 namespace boost { namespace python { namespace detail {
0012
0013 template <class T>
0014 struct value_arg
0015 : mpl::if_<
0016 copy_ctor_mutates_rhs<T>
0017 , T
0018 , typename add_lvalue_reference<
0019 typename add_const<T>::type
0020 >::type
0021 >
0022 {};
0023
0024 }}}
0025
0026 #endif