mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2025-01-04 09:20:39 +08:00
Update item5.md
Fix type error.
This commit is contained in:
parent
8b8d1186e1
commit
91fa070b00
@ -16,7 +16,7 @@ int x;
|
||||
|
||||
别介意,让我们转换一个话题, 对一个局部变量使用解引用迭代器的方式初始化:
|
||||
````cpp
|
||||
template<typename T>
|
||||
template<typename It>
|
||||
void dwim(It b, It e)
|
||||
{
|
||||
while(b!=e){
|
||||
|
Loading…
Reference in New Issue
Block a user