[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
1.3.1
New Type
Add three new types " long long", "char16_t" and "char32_t".
Uniform Initialization: It will stop narrow if it’s out of range of target. but allow if the value is within the range of the target.
int
x
=
{5};
//
When
use
init
,
prefer
to
use
=
double
y
{5};
short
quar
[5]
=
{1,2,3,4,5}
class
c1
{3,
"
aaa
"
};
//
Just
like
class
c1
(3,"
aaa
");
nullptr keyword, Don’t use NULL any longer. NULL is just 0.
1.3.1.1
Type Inference
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]