[Interest] Strange problem in template class (Iterator as value type of a QHash)

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Aug 23 19:29:38 CEST 2013


On Fri, Aug 23, 2013 at 10:34 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:

>
> 23.08.2013, 20:39, "Mandeep Sandhu" <mandeepsandhu.chd at gmail.com>:
> >> Error from Clang:
> >>
> >>  error: template argument for template type parameter must be a type;
> did you forget 'typename'?
> >
> > It' right, in that I need to use typename 'somewhere', I just didn't
> know where (and why).
>
> Clang shows a caret where you need to insert typename. It just does not
> explain why.
>

Thanks for the info. I'll try Clang sometime.

Regards,
-mandeep


>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130823/12378c7c/attachment.html>


More information about the Interest mailing list