[C++-sig] py++ with template member function of template class (original) (raw)
Maik Beckmann Beckmann.Maik at googlemail.com
Fri Jan 16 18:33:52 CET 2009
- Previous message: [C++-sig] built-in submodule creation
- Next message: [C++-sig] call Python function from C++ without copying the arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Roman Yakovenko <roman.yakovenko gmail.com> writes:
> ///////////////////////////////////////////////////////////////////////// > // test template member function in template class > // THIS WON'T WORK!!!!!!!!!!!!! > template > class BFunc > { > public: > template > T foo(const T& t) const; > }; > > template template > T BFunc::foo(const T& t) const { return t + 1; }; >
Unfortunately GCC-XML doesn't dump the information. I am also not aware of any workaround . You will have to create the code by yourself. Py++ allows you to integrate your code easily( http://language-binding.net/pyplusplus/documentation/insertingcode.html )
In this mail http://www.mail-archive.com/gccxml@gccxml.org/msg00316.html Brad King, author of gccxml, confirms that this isn't implemented.
I hope as gccxml gets more and more popular (i.e. the CERN started using it to get C++ reflection) someone will continue Brads good work. He stated in the mail that he is willing to help get people started.
-- Maik
- Previous message: [C++-sig] built-in submodule creation
- Next message: [C++-sig] call Python function from C++ without copying the arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]