-
1. The current implementation `reinterpret_cast`s between `node_type` and `json_type`. `reinterpret_cast` is very likely to (although not always) result in UB here, and it always breaks constant evalu…
-
[P3295R0](https://wg21.link/p3295r0) Freestanding constexpr containers and constexpr exception types (Ben Craig)
-
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2747r2.html
-
**Describe the bug**
I can't find a Cpp2 syntax to emit a `static constexpr` local variable. `static constexpr` variables are useful (particularly in debug/non-optimised builds) for look-up tables in…
-
**Description**
Unscoped enums work fine with my `integral_constant`, scoped don't.
**Steps to Reproduce**
**Actual Behavior**
Enum Class not constexpr: https://godbolt.org/z/hheGKo9vx
unsc…
-
This program
```c++
static_assert(
[]() -> decltype([]{ return true; })
{ return {}; }()());
```
is accepted in GCC, MSVC and Clang 17, but Clang 18 complains:
```
error: static assert…
-
gcc 13 gives the following:
```
../lexy/lexy/dsl/punctuator.hpp:15:26: error: unnecessary parentheses in declaration of ‘period’ [-Werror=parentheses]
15 | inline constexpr auto(Name) = _##N…
-
The following code generates a garbled error message (compile with -std=c++20 -Wno-defaulted-function-deleted):
```
struct S {
bool operator==(const S& s) const;
};
struct T {
constexpr au…
-
Hi, I have the following code that I used to successfully upload to ESP32 but on the dashboard I cannot see the progress and the status is not updating to successful when completed, but on the termina…
-
When declaring a C++ variable as `constexpr`, clang doesn't emit `DW_AT_const_expr` inside the `DW_TAG_variable`.
See the following program for example:
```c++
#include
constexpr size_t kPage…