[Development] Views

Danila Malyutin danilamaljutin at gmail.com
Tue May 21 15:41:42 CEST 2019


Exhibit C:

foo().contains(x)

https://godbolt.org/z/KlIcFc

пн, 20 мая 2019 г. в 23:14, André Pönitz <apoenitz at t-online.de>:

> On Fri, May 17, 2019 at 10:17:10AM +0200, Mutz, Marc via Development wrote:
> > [...] There is no readability difference between the use of a Qt
> container and
> > that of an STL container.
>
> Exhibit A:
>
>      foo().contains(x)
>
>
> Exhibit B:
>
>      {
>          ... container = foo();
>          std::find(container.begin(), container.end(), x) !=
> container.end();
>      }
>
>
> Andre'
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190521/3ec34840/attachment-0001.html>


More information about the Development mailing list