[gdal-dev] Use of C++ iterators in API
Mateusz Loskot
mateusz at loskot.net
Tue Apr 10 13:34:56 PDT 2018
On 10 April 2018 at 22:06, Even Rouault <even.rouault at spatialys.com> wrote:
> Hi,
>
> Just wanted to advertize the recent new introduction of C++ iterators (...)
Good one, thanks!
> for( auto&& poLayer: poDS->GetLayers() )
Do the iterators return a proxy reference hence the tutorial prefers
auto&& over plain auto&?
(ie. like std::vector<bool> iterator does)
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list