[Development] What qtbase looks like with extensive use of auto
rich at kde.org
Mon Mar 21 22:57:25 CET 2016
There are certainly quite a few areas of the qtnetwork patch that I think
make the code significantly easier to read. I don't think I'd apply
everything from it, eg. some of the changes from int to auto just make
things less clear in my eyes, but other parts are a massive win. Thanks for
sharing this, it certainly make me think we should be actively using it.
On 19 March 2016 at 18:02, Stephen Kelly <steveire at gmail.com> wrote:
> In case you missed it, I wrote an auto-modernizer
> It is not quite AAA, as it doesn't convert
> QString s;
> auto s = QString();
> I used it to port qtbase to an extensive use of auto:
> This isn't something I want to push for Qt to apply, but it's something I
> did and you might find the outcome interesting.
> If you think Qt should use auto not-at-all, not-a-lot, or almost-always,
> sure you'll find lots of reasons in the commits to support your position.
> Development mailing list
> Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development