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

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: transform
  3. # key: upr
  4. # --
  5. std::transform(std::begin(${1:container}), std::end($1), std::begin($1), [](char c) {
  6. return std::toupper(c);
  7. });
  8. $2
  9. $0