From 2c1e238a0ca706f489c3bd3decce85baafbb98ab Mon Sep 17 00:00:00 2001 From: Coleman McFarland <43583445+dontlaugh@users.noreply.github.com> Date: Wed, 22 May 2024 19:18:47 -0400 Subject: [PATCH] doc: declare C++20 as the language version Technically we seem to be compiling with `-std=c++2a` which (if I understand correctly) is "all the features we have from 23 and up. But 20 is the earliest version that compiles for me (with clang). 14 and 17 didn't work. --- doc/coding-style.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/coding-style.asciidoc b/doc/coding-style.asciidoc index 3deb24dfe..2885a4ac0 100644 --- a/doc/coding-style.asciidoc +++ b/doc/coding-style.asciidoc @@ -1,7 +1,7 @@ C++ Coding Style ================ -Kakoune is written in C++14, here are the main coding style points: +Kakoune is written in C++20, here are the main coding style points: * Avoid external dependencies besides posix/stdc++