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: Ifa6971bf40e5bfddc76935308027472806c48c4b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meson.build b/meson.build
index f11799e..7e1d7cb 100644
--- a/meson.build
+++ b/meson.build
@@ -4,13 +4,13 @@
'optimization=g',
'warning_level=3',
'werror=true',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'c_std=c17',
'b_ndebug=if-release',
'tests=' + (meson.is_subproject() ? 'disabled' : 'enabled'),
],
version: '0.8.0',
- meson_version: '>=1.1.0',
+ meson_version: '>=1.1.1',
)
if get_option('tests').allowed()