-
https://eel.is/c++draft/thread#lock.general-2 says:
> Some lock constructors take tag types which describe what should be done with the lockable object during the lock's construction.
>
> nam…
-
https://github.com/beman-project/Optional26/blob/bfeb9080c0d9c501965ae857a1decf7ed74686f5/include/Beman/Optional26/optional.hpp#L237-L242
There seems to be no reason to prefer a class template to a…
-
First, the following code is rejected by clang but accepted by other compilers like GCC, MSVC, and ICC:
```c++
struct base { };
struct derived : virtual base {
constexpr int tst(…
-
Take this example:
```c++
struct A {};
constexpr A a[3][3];
constexpr int diff2 = &a[1][3] - &a[0][0];
```
clang prints:
```console
:7:15: error: constexpr variable 'diff2' must be initial…
-
[P2902R0](https://wg21.link/p2902r0) constexpr 'Parallel' Algorithms (Oliver Rosten)
-
[P3037R0](https://wg21.link/p3037r0) constexpr std::shared_ptr (Paul Keir)
-
while fixing on #1743, various cleanups using constexpr can be done in geomap.
This tremendously help reading and maitaining the GeoMap class.
Also minor api addition can be added to use Eigen and s…
-
I'm working with the esp32-c6. I have a customized cluster server in my application. I have successfully implemented commands which update my own attributes.
One thing i'm struggling with is how t…
-
Hi!
The issue concerns building projects for 20 bit architecture for MSP430s. Currently anything that uses `integral_limits.h` for example `span.h` will crash. The work around that I found to this…
-
**Problem description**
When `constexpr` is used on a function, the return value is expected to be available at compile-time.
But it doesn't seem to be working as expected.
**Repro**
The followi…