|
|
От: | Аноним | |
| Дата: | 25.01.12 12:00 | ||
| Оценка: | |||
3.9.1 Fundamental types [basic.fundamental]
8 Integral and floating types are collectively called arithmetic types.
3.9.1 Fundamental types [basic.fundamental]
7 Types bool, char, char16_t, char32_t, wchar_t, and the signed and unsigned integer types are collectively
called integral types.
3.9.1 Fundamental types [basic.fundamental]
7 A synonym for integral type is integer type.
3.9.1 Fundamental types [basic.fundamental]
2 There are five standard signed integer types : “signed char”, “short int”, “int”, “long int”, and “long long int”.
3.9.1 Fundamental types [basic.fundamental]
3 For each of the standard signed integer types, there exists a corresponding (but different) standard unsigned
integer type: “unsigned char”, “unsigned short int”, “unsigned int”, “unsigned long int”,
and “unsigned long long int”.
3.9.1 Fundamental types [basic.fundamental]
7 Types bool, char, char16_t, char32_t, wchar_t, and the signed and unsigned integer types are collectively
called integral types.
3.9.2 Compound types [basic.compound]
1 Compound types can be constructed in the following ways:
— arrays of objects of a given type, 8.3.4;
...
int a[50]; // составной тип3.9.2 Compound types [basic.compound]
1 Compound types can be constructed in the following ways:
...
— functions, which have parameters of given types and return void or references or objects of a given
type, 8.3.5;
...
void f () {} // составной тип3.9.2 Compound types [basic.compound]
1 Compound types can be constructed in the following ways:
...
— pointers to void or objects or functions (including static members of classes) of a given type, 8.3.1;
— references to objects or functions of a given type, 8.3.2. There are two types of references:
— lvalue reference
— rvalue reference
...
|
|
От: |
Centaur
|
|
| Дата: | 25.01.12 12:17 | ||
| Оценка: | |||