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

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