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.
 
 
 
 
 
 

11 lines
193 B

# -*- mode: snippet -*-
# name: partition_point
# key: ppt
# --
auto pos = std::partition_point(std::begin(${1:container}), std::end($1), []($2) {
$3
});
if (pos != std::end($1)) {
$4
}
$0