Note that int y(2.3) is allowed in C++0x; no type narrowing is assumed, and y equals 2 while int y{2.3} is plainerror.
注意,在 C++0x 中允许 int y(2.3);由于不允许类型窄化,y 等于 2,而 int y{2.3} 是错的。
2
The plain 'syntax error' message becomes.
普通的' syntax error '消息如下。
3
Note: Although you don't absolutely need to have an editor other than a plain text editor, I find that it really helps to have syntax highlighting and syntax error-correcting.