add some notes and static assertions about template sizes

This commit is contained in:
2020-01-30 19:14:59 -05:00
parent b5a868c424
commit e069088437
2 changed files with 8 additions and 2 deletions

View File

@@ -80,6 +80,7 @@ struct Combos {
const std::vector<T> &vals;
size_t k;
// todo make k a template argument
Combos(const std::vector<T> &vals, size_t k) : vals(vals), k(k) {
}