dotfiles/.emacs.d/snippets/c++-mode/rci

10 lines
170 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: replace_copy_if
# key: rci
# --
std::replace_copy_if(std::begin(${1:container}), std::end($1),
std::begin($1), []($2) {
$3
}, $4);
$0