[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Template problem
From: |
benjamin . bihler |
Subject: |
Re: Template problem |
Date: |
Tue, 03 Jul 2007 08:42:19 -0700 |
User-agent: |
G2/1.0 |
Hello,
> benjamin.bih...@gmx.de wrote:
> > __gnu_cxx::hash_set< PointerTemplate*, pointerHashFunction,
> > pointerEquality, std::allocator< PointerTemplate* > >::iterator
> > hash_setIterator;
>
> You need typename in front of this, it is a dependent type.
It works now! Thank you very much!
But could you explain to me the difference between the declaration of
the hash set and the declaration of its iterator? It seems to me, that
both are dependent times or none of them, since the declaration is so
similar!
Thank you and bye,
Benjamin