diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 1cc3c6e..0182c8e 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -60,3 +60,7 @@ endsnippet snippet [] "Labmda function" [$1]($2)${3/(.*)/(?1: -> ::)/}$3 {$0} endsnippet + +snippet static_assert "Static assert" +static_assert($1, "$2"); +endsnippet