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: Ica48aad491c506716c74dc74921664188ccf85e2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index 37ee2ba..de539eb 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@
'b_ndebug=if-release',
'buildtype=debugoptimized',
'cpp_rtti=false',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'warning_level=3',
'werror=true',
],
@@ -25,8 +25,8 @@
# Validate the c++ Standard
-if get_option('cpp_std') != 'c++20'
- error('This project requires c++20 support')
+if get_option('cpp_std') != 'c++23'
+ error('This project requires c++23 support')
endif
# Get compiler and default build type