[cpp] Added C++11-style foreach snippet.
This commit is contained in:
parent
9988d5bf78
commit
8108ecd980
@ -64,3 +64,8 @@ snippet scin
|
||||
std::cin >> ${1};
|
||||
snippet cin
|
||||
cin >> ${1};
|
||||
# foreach
|
||||
snippet fore
|
||||
for (${1:auto} ${2:i} : ${3:container}) {
|
||||
${4:/* code */}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user