Most of the code I see use abbreviated types to declare a variable, such as
long long x; // long long int x
short y; // short int y
I skimmed through the C++11 standard (Sec. 3.9.1) and the type is always declared fully, as long long int
. I couldn't find any mentioning of abbreviated types. I am pretty sure the abbreviations are standard-compliant, but wanted to make sure if this is indeed the case. So my question is whether the above code is fully standard compliant.
Aucun commentaire:
Enregistrer un commentaire