C++: Simplify consteval if to be just a single class with an isNot predicate

This commit is contained in:
Jeroen Ketema
2025-01-20 11:20:11 +01:00
parent a74189f6fa
commit a9e0f20861
6 changed files with 37 additions and 51 deletions

View File

@@ -1,4 +1,4 @@
---
category: feature
---
* New classes `ConstevalIfStmt` and `NotConstevalIfStmt` were introduced, which represent the C++23 `if consteval` and `if ! consteval` statements.
* A new class `ConstevalIfStmt` was introduced, which represents the C++23 `if consteval` and `if ! consteval` statements.