[geos-devel] Switching to C++14

Regina Obe lr at pcorp.us
Tue Jan 17 18:35:38 PST 2023


No concerns from me.  +1 for embracing C++14

 

From: geos-devel [mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Daniel Baston
Sent: Tuesday, January 17, 2023 7:56 PM
To: GEOS Development List <geos-devel at lists.osgeo.org>
Subject: [geos-devel] Switching to C++14

 

Back in 2018, we discussed whether we should move to C++14 in order to take advantage of minor features like std::make_unique and [[deprecated]]. At that time the consensus seemed to be that the change was not warranted [1]. More recently, I've found the use of C++14 auto lambdas to be a compelling advantage for reasons I described in a pull request [2]. I don't see a reason not to make the change now, since it should have no effect on the number of platforms that can build GEOS. (The only versions of gcc and MSVC that can build GEOS also support C++14. It's possible that GEOS builds on clang 3.3 and this change would require 3.4, though the earliest version we are currently testing with is 7.) Are there any concerns with making this change?

 

Dan

 

[1] https://lists.osgeo.org/pipermail/geos-devel/2018-December/008768.html

[2] https://github.com/libgeos/geos/pull/800

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20230117/5a6339e0/attachment.htm>


More information about the geos-devel mailing list