11 lines
143 B
Plaintext
11 lines
143 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: any_of
|
||
|
# key: ano
|
||
|
# --
|
||
|
if (std::any_of(std::begin(${1:container}), std::end($1), []($2) {
|
||
|
$3
|
||
|
})) {
|
||
|
$4
|
||
|
}
|
||
|
$0
|