Category "c++20"

Is there any way to declare a array, not just its elements, as const?

Using std::array I can declare both the array itself and it's objects as const. const std::array<const int,2> a {1,2}; However, if I read the standard co

Scheduling a coroutine with a context

There are plenty of tutorials that explain how it's easy to use coroutines in C++, but I've spent a lot of time getting how to schedule "detached" coroutines. A

accessing std::tuple element by constexpr in type

I would like to access to a tuple element at compile time by a value constexpr in the type #include <iostream> #include <tuple> #include <utility