(Emacs)~changed snippets
This commit is contained in:
@@ -2,4 +2,4 @@
|
|||||||
# name: find
|
# name: find
|
||||||
# key: find
|
# key: find
|
||||||
# --
|
# --
|
||||||
std::find(std::begin(${1:v}), std::end$(1), ${2:a});
|
std::find(std::begin(${1:v}), std::end($1), ${2:a})
|
||||||
@@ -5,4 +5,4 @@
|
|||||||
std::find_first_of(
|
std::find_first_of(
|
||||||
std::begin(${1:a}), std::end($1),
|
std::begin(${1:a}), std::end($1),
|
||||||
std::begin(${2:b}), std::end($2)
|
std::begin(${2:b}), std::end($2)
|
||||||
);
|
)
|
||||||
@@ -4,4 +4,4 @@
|
|||||||
# --
|
# --
|
||||||
std::find_if(std::begin(${1:v}), std::end($1), ${2:[](${3:auto x}) {
|
std::find_if(std::begin(${1:v}), std::end($1), ${2:[](${3:auto x}) {
|
||||||
${4:return true;}
|
${4:return true;}
|
||||||
}});
|
}})
|
||||||
@@ -4,4 +4,4 @@
|
|||||||
# --
|
# --
|
||||||
std::find_if_not(std::begin(${1:v}), std::end($1), ${2:[](${3:auto x}) {
|
std::find_if_not(std::begin(${1:v}), std::end($1), ${2:[](${3:auto x}) {
|
||||||
${4:return true;}
|
${4:return true;}
|
||||||
}});
|
}})
|
||||||
|
|||||||
Reference in New Issue
Block a user