${1}.erase(std::unique(begin($1), end($1)), end($1)); $0
#line 1 "short-snip/uniq.cpp" ${1}.erase(std::unique(begin($1), end($1)), end($1)); $0