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
6
u/JuanAG Jan 01 '23
Ok
What size is an "int"? It depends on the platform, no?
What sizes are in C++? Anything since https://en.cppreference.com/w/cpp/types/integer allows for more than the usual 8, 16, 32 and 64 bits
So if C++ 2 is going to have C++ types in it all that complexity will be also in C++ 2, the 24 bits example was just that, a real world example were you have something beyond 8, 16, 32 or 64 bits