Update C++ snippets
This commit is contained in:
parent
51ae7955f7
commit
bbe6c378fd
@ -1,2 +1,25 @@
|
||||
snippet array
|
||||
std::array<${1:T}, ${2:N}> ${3:array};${4}
|
||||
# C++ SnipMate snippets
|
||||
|
||||
extends c
|
||||
|
||||
snippet for Range based
|
||||
for (${1:auto} ${2:value} : ${3:container}) {
|
||||
$0
|
||||
}
|
||||
|
||||
snippet for Index based
|
||||
for (${1:int} i = ${2:0}; i < ${3:count}; i++) {
|
||||
$0
|
||||
}
|
||||
|
||||
snippet const_cast
|
||||
const_cast<$1>($2)$0
|
||||
|
||||
snippet static_cast
|
||||
static_cast<$1>($2)$0
|
||||
|
||||
snippet dynamic_cast
|
||||
dynamic_cast<$1>($2)$0
|
||||
|
||||
snippet reinterpret_cast
|
||||
reinterpret_cast<$1>($2)$0
|
||||
|
Loading…
x
Reference in New Issue
Block a user