From aa9f1fdc73577e6afd2858a23f5466163e10b9ef Mon Sep 17 00:00:00 2001
From: "Kenneth Benzie (Benie)" <benie@infektor.net>
Date: Sun, 4 Sep 2016 22:47:01 +0100
Subject: [PATCH] Add C++ lambda function snippet

---
 UltiSnips/cpp.snippets | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets
index 7c61b99..1cc3c6e 100644
--- a/UltiSnips/cpp.snippets
+++ b/UltiSnips/cpp.snippets
@@ -56,3 +56,7 @@ endsnippet
 snippet reinterpret_cast "Reinterpret case"
 reinterpret_cast<$1>($2)$0
 endsnippet
+
+snippet [] "Labmda function"
+[$1]($2)${3/(.*)/(?1: -> ::)/}$3 {$0}
+endsnippet