c++: add powerset generator and vararg-function snippets