# -*- mode: snippet -*-
# name: is_sorted
# key: iss
# --
if (std::is_sorted(std::begin(${1:container}), std::end($1))) {
$2
}
$0