feat(cxx): change test value of __cplusplus to 202302L

This commit is contained in:
Alexey Lapshin 2024-07-06 00:26:41 +07:00
parent 664c2e6b77
commit 29b028076a

View File

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/*
* Current (2023-05-04) value for -std=gnu++23 and -std=gnu++2b.
* Current GCC-14.2.0 value for -std=gnu++23 and -std=gnu++2b.
* If you change the C++ standard for IDF, you also need to change this.
*/
static_assert(__cplusplus == 202100L);
static_assert(__cplusplus == 202302L);