9 lines
140 B
Plaintext
9 lines
140 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: replace_if
|
||
|
# key: rpi
|
||
|
# --
|
||
|
std::replace_if(std::begin(${1:container}), std::end($1), []($2) {
|
||
|
$3
|
||
|
}, $4);
|
||
|
$0
|