[C++-sig] Raoul Gough's container suite with svn boost-trunkboost.python?

Nikolay Mladenov nickm at sitius.com
Thu Oct 11 21:01:18 CEST 2007


I found it,

the postcall_override template needs to have the following line

typedef typename Policy::extract_return_type extract_return_type;

HTH,

Nikolay

John Reid wrote:
> 
> Has anyone tried using Raoul's container suite with the svn boost-trunk?
> 
> I'm getting the following error:
> 
> C:\Dev\ThirdParty\boost\boost-trunk\boost/python/detail/caller.hpp(236)
> : error C2903: 'extract_return_type' : symbol is neither a class
> template nor a function template
> 
> C:\Dev\ThirdParty\boost\boost-trunk\boost/python/detail/caller.hpp(232)
> : while compiling class template member function
> 'boost::python::detail::py_func_sig_info
> boost::python::detail::caller_arity<2>::impl<F,Policies,Sig>::signature(void)'
>          with
>          [
>              F=boost::python::list (__cdecl
> *)(std::vector<biopsy::binding_hit> &,boost::python::indexing::slice),
> 
> Policies=boost::python::indexing::detail::postcall_override<boost::python::indexing::default_container_policies>,
> 
> Sig=boost::mpl::vector3<boost::python::list,std::vector<biopsy::binding_hit>
> &,boost::python::indexing::slice>
>          ]
> 
> So the problem seems to be there is no extract_return_type in
> boost::python::indexing::detail::postcall_override<boost::python::indexing::default_container_policies>
> 
> If I remember correctly, I've installed Roman's version by copying it
> into boost/python/suite/indexing
> 
> John.




More information about the Cplusplus-sig mailing list