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

7 lines
141 B
Plaintext

# -*- mode: snippet -*-
# name: remove
# key: erm
# --
${1:container}.erase(std::remove(std::begin($1), std::end($1), $2), std::end($1));
$0