D15796: Prefer initializer_list over operator << for initializing a QList
Tomaz Canabrava
noreply at phabricator.kde.org
Thu Sep 27 18:35:07 BST 2018
tcanabrava added inline comments.
INLINE COMMENTS
> broulik wrote in main.cpp:187
> Just do `QStringList{QStringLiteral("s"), QStringLiteral("start")}`
ok.
> apol wrote in main.cpp:252
> Why do you need to hardcode the QStringList constructor?
i tried using only initializer list but got a compilation error.
REPOSITORY
R40 Kate
REVISION DETAIL
https://phabricator.kde.org/D15796
To: tcanabrava
Cc: broulik, apol, kwrite-devel, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180927/dfce222f/attachment.html>
More information about the KWrite-Devel
mailing list