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
199 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # name: find_end
  3. # key: fne
  4. # --
  5. auto pos = std::find_std::end(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