每当需要一个特殊类型时,该类型的初始化器就很明显地被提升成类型本身。
Whenever a particular type is required, the initializer for that type is transparently lifted into the type itself.
新的auto语法:根据初始化器(initializer)表达式推导类型。
Welcome to the new auto syntax: type deduction from initializer expressions.
如果初始化器是一个bytes literal,则无须指定编码类型:请记住,bytes literal并不是字符串。
If the initializer is a bytes literal, you need not specify the encoding type: Remember, bytes literals are not strings. But like strings, you can concatenate bytes.
应用推荐