Exhibit C: foo().contains(x)
https://godbolt.org/z/KlIcFc пн, 20 мая 2019 г. в 23:14, André Pönitz <apoen...@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@qt-project.org > https://lists.qt-project.org/listinfo/development >
_______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development