On Tue, Sep 10, 2024 at 4:49 PM Robin Savonen Söderholm via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
I would find something along the lines of the following:
```c++
template <size_t BITS>
using int_bits_t = /*specific int types that exactly BITS number of bits*/;

This is _BitInt(n), already present in C and actively proposed for C++.
For userspace implementations, see
https://quuxplusone.github.io/blog/2020/02/13/wide-integer-proof-of-concept/

HTH,
–Arthur