[Interest] Q_FOREACH creating copy , was (no subject)
Koehne Kai
Kai.Koehne at theqtcompany.com
Wed Jul 1 16:35:58 CEST 2015
> -----Original Message-----
> From: interest-bounces+kai.koehne=theqtcompany.com at qt-project.org
> Thiago, can you check what you can get in places marked with<<Can you get code completion here?>> inside QtCreator?
> [...]
> void test1() {
> QStringList container;
>
> foreach(const auto &item, container) {
> item.<<Can you get code completion here?>>
> }
>
> foreachref(const auto &item, container) {
> item.<<Can you get code completion here?>>
> }
> }
With the (still experimental) clang code model in Qt Creator you get auto-completion for both.
In any case, deficiencies of a particular IDE are a very weak argument for adding stuff to a library :)
Regards
Kai
More information about the Interest
mailing list