mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2025-01-27 12:21:01 +08:00
Update item4.md
This commit is contained in:
parent
c8844c50f4
commit
04e2e271f8
@ -84,7 +84,7 @@ void f(const T& param)
|
||||
cout << "T = " << typeid(T).name() << '\n'; //显示T
|
||||
|
||||
cout << "param = " << typeid(param).name() << '\n'; //显示
|
||||
... //param
|
||||
… //param
|
||||
} //的类型
|
||||
````
|
||||
GNU和Clang执行这段代码将会输出这样的结果
|
||||
|
Loading…
Reference in New Issue
Block a user