Add std::enable_if snippet
This commit is contained in:
parent
927889ce74
commit
1a2f732259
@ -76,3 +76,7 @@ class noisy_t {
|
|||||||
~noisy_t() { puts(__PRETTY_FUNCTION__); }
|
~noisy_t() { puts(__PRETTY_FUNCTION__); }
|
||||||
};
|
};
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet std::enable_if "Enable if"
|
||||||
|
typename std::enable_if<${1:condition}${2:, ${3:type}}>::type
|
||||||
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user