From ead0ec3a0ca18f346c40c9399389580972807d92 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 25 Sep 2016 00:25:31 +0100 Subject: [PATCH] Add static_assert snippet --- UltiSnips/cpp.snippets | 4 ++++ 1 file changed, 4 insertions(+) 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