修改、增加一些翻译

This commit is contained in:
猫耳堀川雷鼓 2021-01-30 21:39:39 +08:00 committed by GitHub
parent 4d9030f896
commit f06a367ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ void f(ParamType param);
````
它的调用看起来像这样
````cpp
f(expr); //使用表达式调用f
f(expr); //使用表达式调用f
````
在编译期间,编译器使用`expr`进行两个类型推导:一个是针对`T`的,另一个是针对`ParamType`的。这两个类型通常是不同的,因为`ParamType`包含一些修饰,比如`const`和引用修饰符。举个例子,如果模板这样声明:
````cpp