[C++-sig] [GCC-XML] (__GLOBAL function was Problem exposing templates)
Roman Yakovenko
roman.yakovenko at gmail.com
Tue Aug 8 07:17:12 CEST 2006
On 8/8/06, Balasubramanyam, Shivakumar <sbalasub at qualcomm.com> wrote:
> Roman, Bjorn,
>
> The template instantiations happens in both declarations below.
>
> 1. typedef Stack<int>::Stack Stack_int;
>
> This would result in a template instantiation with user defined class name "Stack_int"
>
> 2. template class Stack<int> as instructed in http://www.gccxml.org/HTML/FAQ.html
>
> This would result in a template instantiation with class name picked by gcc "Stack_less_int_grate_"
>
Please, read this document, you will understand why there is a
difference in class aliases:
http://svn.sourceforge.net/viewvc/pygccxml/pyplusplus_dev/docs/documentation/hints.rest?view=markup
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the Cplusplus-sig
mailing list