ryanhaining/cppitertools

product's repeat argument as a variant.

alphahmed opened this issue · 0 comments

I'd appreciate having the repeat argument accepted as a variable:

std::string ss{"abcd"};
int k{4};
iter::product(ss,k);

//instead of...

std::string ss{"abcd"};
iter::product<4>(ss); // has to be entered manually!