-
We should constexpr everything available in c++17 as this allows to do part of the computation at compile time when the data is needed.
We should also add macros `CPP_20_CONSTEXPR` `CPP_23_CONSTEX…
-
https://github.com/beman-project/Optional26/blob/bfeb9080c0d9c501965ae857a1decf7ed74686f5/include/Beman/Optional26/optional.hpp#L332-L338
-
Before version 1.85 uuid was an aggreagate and could be constexpr constructed from a sequence of bytes.
With version 1.85 this is no longer possible.
(I've got user-defined literal which converts uu…
-
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)
-
**Link:** https://wg21.link/lwg2727
-
out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated
Enabling `-Wdeprecated-redundant-constexpr-static-def` with warnings as errors causes fast_float to no…
-
Example below compiles fine under MSVC and GCC
```
template
[[nodiscard]]
constexpr auto foo() noexcept
{
constexpr auto extract_size = []() constexpr -> int
{
return 1;
…
-
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…