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

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