[Qt-creator] Double templates in function declaration

Lindeijer Thorbjorn (Nokia-D-Qt/Berlin) thorbjorn.lindeijer at nokia.com
Wed Jan 6 14:00:47 CET 2010


On 12/16/2009 01:54 PM, ext Eirik Ulvik wrote:
> Found this small bug. I have a function that takes arguments with double
> templates. I declare it in the .h file. When I then want to write the
> implementation QtCreator pops up with the function signature for
> autocompletion. The problem with the autocomplete is that the space
> between the two last ">" signs is removed creating invalid code.
>
> A small example to reproduce would be.
>
> FooBar.h
> class A{
> void foo(QVector<QVector<float>  >  &bar);
> };
>
> Using the autocomplete of the function arguments in the implementation
> will yield:
>
> void A::foo(QVector<QVector<float>>  &bar);
>
> Do not know if this is a known issue ie. registred in the bugtracker.

Thanks for the report. This was not a known issue as far as I know, so 
I've created the following task in our bugtracker:

http://bugreports.qt.nokia.com/browse/QTCREATORBUG-547

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks



More information about the Qt-creator-old mailing list