cppitertools
cppitertools copied to clipboard
product's repeat argument as a variant.
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!