5 ms·
It looks like they didn't even add _BitInt types yet. Adding concepts but not adding _BitInt types sounds insane considering how simple _BitInt types are as a p
by ozgrakkurt 7mo ago
It looks like they didn't even add _BitInt types yet. Adding concepts but not adding _BitInt types sounds insane considering how simple _BitInt types are as a programmer (not sure about implementation but it already works in clang).
- jandrewrogers 7mo ago_BitInt types probably aren’t a priority because they are more or less trivial to implement yourself in C++. Also, some of the implementation details and semantics do matter in an application dependent way, which makes it a bit of an opinionated feature. I would guess there is a lot of arguing over the set of tradeoffs suitable for a standard, since C++ tends to avoid opinionated designs if it can.
- pjmlp 7mo agoJust like restrict never made it. Someone has to write a proposal, bring it to the various meetings, and getting it to win the features selection election from all parties. Also WG21 tends to disregard C features that can already be implemented within C++'s type system.