Add std::enable_if snippet

This commit is contained in:
Kenneth Benzie 2016-12-23 15:01:03 +00:00
parent 927889ce74
commit 1a2f732259

View File

@ -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