looks like I fixed the empty range issue as well
another merge
Merge branch 'master' of https://github.com/ryanhaining/cppitertools
Did permutations, unlikely to have bugs since std::next_permutation is leveraged