On 10/22/24 12:04 PM, Jean-Marc Lasgouttes wrote:
Le 22/10/2024 à 16:50, Pavel Sanda a écrit :
On Tue, Oct 22, 2024 at 04:34:29PM +0200, Jean-Marc Lasgouttes wrote:
What I meant was mainly that we could delete specific ifdefs for
gcc < 8 if
there any in the code.
We have a test for C++14
IMHO we can drop C++14 test as it's default since GCC 6.1.
one for C++17 (any.h). We can get rid of them if we require C++17.
Whether we require C++17 is somewhat separated from GCC>=8 version and
I do not have opinion about it actually. It's really whether people
are enthusiastic about the new features to actually use them(?).
Structured bindings look good, I have all these foo.first foo.second
in the code. But converting the code to use them tales time.
We still do not use range-based for() loops consistently.
I spent a bunch of time going through those a while ago. It takes time
indeed.
Riki
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel