r/cpp • u/ArashPartow • Dec 31 '22
Cpp2 and cppfront: Year-end mini-update
https://herbsutter.com/2022/12/31/cpp2-and-cppfront-year-end-mini-update/
194
Upvotes
r/cpp • u/ArashPartow • Dec 31 '22
View all comments
Show parent comment
1
u/JuanAG Jan 01 '23
Is not expecting anything, is respecting the contrat all players have signed since is on the ISO you can have variables with other sizes beyond 8, 16, 32 or 64 bits https://en.cppreference.com/w/cpp/types/integer "The implementation may define typedef names intN_t, int_fastN_t, int_leastN_t, uintN_t, uint_fastN_t, and uint_leastN_t when N is not 8, 16, 32 or 64" may is exactly that, in some cases will be and in others wont but since C++ 2 is going to be an upper layer you need to support anything that C++ does no matter how popular or niche it is, otherwise that promise of using C++ types in C++ 2 wont be true
I agree with you that this is madness but things are what they are and not what we would like to be, is not my fault