Add std::enable_if snippet
This commit is contained in:
parent
1a425c3d9c
commit
f55fae15ec
@ -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