[C++-sig] Template Functions

Roman Yakovenko roman.yakovenko at gmail.com
Sun Oct 22 16:54:19 CEST 2006


On 10/22/06, Nicolas Tessore <wz_ at gmx.net> wrote:
> bp::def(
>      "DynamicCastToNVC"
>      , DynamicCastToNVC_function_type( &::Niflib::DynamicCast )
>      , ( bp::arg("object") ) );
>
> This is of course an error, it should be:
>
>      DynamicCastToNVC_function_type( &::Niflib::DynamicCast<NVC> )
>
> ---
>
> Long story short: Why does Py++ not recognize that my functions contain
> templates, and does not put it to the right place?
>

I think you should read next document: http://tinyurl.com/y2rfqp
Does it help?

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list