dotfiles/.emacs.d/snippets/c++-mode/swr

7 lines
139 B
Plaintext

# -*- mode: snippet -*-
# name: swap_ranges
# key: swr
# --
std::swap_ranges(std::begin(${1:container}), std::end($1), std::begin($2));
$0