はい。unsigned
, signed
, short
,long
はlong long
すべて の単純な型指定子ですXXX int
。
標準の7.1 指定子 [dcl.spec]を参照してください。
3 [ 注: デフォルトでは、signed、unsigned、long、および short は int を意味するため、これらの指定子の 1 つの後に現れる型名は、(再) 宣言された名前として扱われます。[ 例:
void h(unsigned Pc); // void h(unsigned int)
void k(unsigned int Pc); // void k(unsigned int)
—例の終了] —注記の終了]
および7.1.6.2 単純型指定子 [dcl.type.simple]
Table 10 — simple-type-specifiers and the types they specify
Specifier(s) | Type
------------------------+---------------------------------
type-name | the type named
simple-template-id | the type as defined in 14.2
char | “char”
unsigned char | “unsigned char”
signed char | “signed char”
char16_t | “char16_t”
char32_t | “char32_t”
bool | “bool”
unsigned | “unsigned int”
unsigned int | “unsigned int”
signed | “int”
signed int | “int”
int | “int”
unsigned short int | “unsigned short int”
unsigned short | “unsigned short int”
unsigned long int | “unsigned long int”
unsigned long | “unsigned long int”
unsigned long long int | “unsigned long long int”
unsigned long long | “unsigned long long int”
signed long int | “long int”