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