4 ms·
C++20 has limited support for allocating memory at compile time. The allocations can't be leaked from the constant expression context, so that limits usefulness
by leni536 4y ago
C++20 has limited support for allocating memory at compile time. The allocations can't be leaked from the constant expression context, so that limits usefulness.
There are proposals to extend it, but there are some non-trivial const correctness issues to be solved there, AFAIK.