On Jan 28, 4:35 pm, tragomaskhalos <dave.du.verg...@logicacmg.com>
wrote:
On Jan 28, 10:50 am, mthread <rjk...@gmail.com> wrote:
template <class Type>
int SingleQueue<Type>::Show_qelements()
{
list<Type>::iterator pos; //Compilation error occurs here
typename list<Type>::iterator pos;
return 1;
}
Again with the typename ...
The compiler doesn't know what iterator is, it could be anything,
so you have to help it.
Hi,
thanx.
.