[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-cpp-sig
Subject:    Re: [C++-sig] py++ with template member function of template class
From:       Maik Beckmann <Beckmann.Maik () googlemail ! com>
Date:       2009-01-16 17:33:52
Message-ID: loom.20090116T172406-507 () post ! gmane ! org
[Download RAW message or body]

Roman Yakovenko <roman.yakovenko <at> gmail.com> writes:
> > /////////////////////////////////////////////////////////////////////////
> > // test template member function in template class
> > // THIS WON'T WORK!!!!!!!!!!!!!
> > template <typename A>
> > class BFunc
> > {
> > public:
> >     template <typename T>
> >     T foo(const T& t) const;
> > };
> >
> > template <typename A> template <typename T>
> > T BFunc<A>::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/inserting_code.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   


_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic