diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 465d4e0..e019a15 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -44,3 +44,19 @@ namespace ${1:}${1/\w+/ /}{ $0 }${1/\w+/ \/\/ $0/} endsnippet + +snippet const_cast "Const cast" +const_cast<$1>($2)$0 +endsnippet + +snippet dynamic_cast "Dynamic cast" +dynamic_cast<$1>($2)$0 +endsnippet + +snippet static_cast "Static cast" +static_cast<$1>($2)$0 +endsnippet + +snippet reinterpret_cast "Reinterpret case" +reinterpret_cast<$1>($2)$0 +endsnippet