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.

10 lines
190 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # name: search
  3. # key: srh
  4. # --
  5. auto pos = std::search(std::begin(${1:container}), std::end($1),
  6. std::begin($2), std::end($3));
  7. if (pos != std::end($1)) {
  8. $4
  9. }
  10. $0