[GCC-XML] (__GLOBAL function was Problem exposing templates)
Bjørn Roald
bjorn at 4roald.org
Thu Aug 3 01:34:55 EDT 2006
Roman Yakovenko wrote:
> On 8/3/06, Balasubramanyam, Shivakumar <sbalasub at qualcomm.com> wrote:
>> [shiva] Roman, I understood the second part of my question, which was
>> using typedef for explicit instantiation.
>>
>> Now I declared using "typedef Stack<int>::Stack Stack_Int;"
>
> This does not couse to template instantiation.
>
> Please write:
>
> Stack_Int s;
Why do you need the typdef?
Stack<int>::Stack Stack_Int;
Should do it! Or am I missing some other purpose of the typedef?
Bjorn
More information about the gccxml
mailing list