Closed gillins closed 2 years ago
Hi @gillins, I think those are the main ones. Could use auto when defining iterators etc. which would make could a little tidier.
Good point about auto
- now that we don't have to support VS2008 (had been required for Python 2.7 and ancient versions of ArcGIS) this is a good time to do this. I'll see if I can put together an initial PR with these changes.
The ABI with previous versions is broken with 1.5.x so maybe a chance to also update some of the functions to match the C++ Core Guidelines? I'm thinking only in ways that won't mean changing user code, but as they will have to recompile anyway we have a bit of flexibility to make it consistent with code elsewhere.
In particular passing
std::string
byconst
reference and catching exceptions byconst
reference. The latter will need to happen in the gdal driver as well (already been done in the gdal bundled version).What do you think @petebunting ? Is there anything else we could be doing?