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

7 lines
124 B
Plaintext

# -*- mode: snippet -*-
# name: count
# key: cnt
# --
auto n = std::count(std::begin(${1:container}), std::end($1), $2);
$0