Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
170 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: replace_copy_if
  3. # key: rci
  4. # --
  5. std::replace_copy_if(std::begin(${1:container}), std::end($1),
  6. std::begin($1), []($2) {
  7. $3
  8. }, $4);
  9. $0