# -*- mode: snippet -*-
|
|
# name: remove
|
|
# key: rmv
|
|
# --
|
|
auto pos = std::remove(std::begin(${1:container}), std::end($1), $2);
|
|
if (pos != std::end($1)) {
|
|
$3
|
|
}
|
|
$0
|