-
This program
```
struct A {
friend constexpr bool operator ==(const A &, const A &) noexcept = default;
};
constexpr bool operator ==(const A &, const A &) noexcept;
static_assert( A{} == …
-
There is new library called constexpr-java.
As i see , currently javacpp doesnt support constexpr.
But you can add support with this library :
https://github.com/junkdog/constexpr-java
-
According to https://eel.is/c++draft/dcl.fct.def.default#3, a copy-/move-assignment operator, that is defaulted on its first declaration, is constexpr if possible. And according to https://eel.is/c++d…
-
[P2902R0](https://wg21.link/p2902r0) constexpr 'Parallel' Algorithms (Oliver Rosten)
-
[P3032R0](https://wg21.link/p3032r0) Less transient constexpr allocation (Barry Revzin)
-
This breaks my build so much. Please don't redeclare C++ keywords like that.
https://github.com/tqdm/tqdm.cpp/blob/669d6354a279afd2177d66703d7405722ea627ca/include/tqdm/utils.h#L37
```
/usr/inclu…
-
The point of `integer_quotient()` is to make it extremely obvious that we are about to do a possibly-truncating integer division. We have seen that this is very error prone when the denominator has u…
-
There are plenty of deprecated out of line static constexpr declarations
You can easy get rid of them with clang and
target_compile_options(glaze_glaze INTERFACE -Werror=deprecated-redundant-cons…
-
Hi,
from what I see there is only one Vertex Color level named as `constexpr const char* ACCESSOR_COLOR_0 = "COLOR_0";`.
if I add
```
constexpr const char* ACCESSOR_COLOR_1 = "COLOR_1";
con…
-
This program
```c++
static_assert(
[]() -> decltype([]{ return true; })
{ return {}; }()());
```
is accepted in GCC, MSVC and Clang 17, but Clang 18 complains:
```
error: static assert…
Fedr updated
2 months ago