diff --git a/UltiSnips/cpp.snippets b/UltiSnips/cpp.snippets index 3e31a95..98cfdc4 100644 --- a/UltiSnips/cpp.snippets +++ b/UltiSnips/cpp.snippets @@ -76,3 +76,7 @@ class noisy_t { ~noisy_t() { puts(__PRETTY_FUNCTION__); } }; endsnippet + +snippet std::enable_if "Enable if" +typename std::enable_if<${1:condition}${2:, ${3:type}}>::type +endsnippet