[ Sorry for the delay in repyling.
The list server messages have not been reaching my mailbox. ]
On Thu, Dec 18, 2025 at 12:28?PM Howard Butler wrote:
and the consequence of that is there is a lot of code in GDAL that could
be removed if it were more aggressive about taking advantage of
now-standard C++ facilities and constructs. Less code means less to
maintain and less to break.
Daniel Baston replied:
I agree with this as a principle, but looking at C++20 specifically I don't
see opportunity for significant code removal on the order of C++11 or
C++17. This thread brings up cpl::contains, cpl::starts_with, and
cpl::ends_with.
I have long been looking forward to std::span.
Not only does it make some things easier to write safely,
but static analysis options like
clang++ -Wunsafe-buffer-usage
are only useful with std::span.
--
Andrew C. Aitchison Kendal, UK
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev