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: Ibb8913a93032d388399b65904013e284780dad70
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/subprojects/ncsid/meson.build b/subprojects/ncsid/meson.build
index a813ba4..5d0db18 100644
--- a/subprojects/ncsid/meson.build
+++ b/subprojects/ncsid/meson.build
@@ -16,11 +16,11 @@
'gbmc-ncsid',
['cpp', 'c'],
version: '0.1',
- meson_version: '>=0.58.0',
+ meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
'werror=true',
- 'cpp_std=c++20',
+ 'cpp_std=c++23',
'c_std=c18',
'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
])