[C++-sig] Template Functions
Nicolas Tessore
wz_ at gmx.net
Sun Oct 22 17:12:24 CEST 2006
Roman Yakovenko schrieb:
> 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?
>
Yes, indeed! Thanks for the help, I read the whole doc but completely
misunderstood the intention of it :D
Py++ is quite hard to get into (for a newbie like me =)) but once you
get the hang of it, it's a real beauty.
Thanks again,
N.
More information about the Cplusplus-sig
mailing list