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

Konstantin Tokarev annulen at yandex.ru
Fri Aug 23 19:04:52 CEST 2013

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.


More information about the Interest mailing list