build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I1233e212f7970796e770adbc79fb592f4f1bf6cd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 7b43dbd..bd19af9 100644
--- a/meson.build
+++ b/meson.build
@@ -3,10 +3,10 @@
'c',
'cpp',
version: '0.1',
- meson_version: '>=0.57.0',
+ meson_version: '>=1.1.1',
default_options: [
'c_std=c18',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'werror=true',
'warning_level=3',
'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),