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

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