Skip to content

CPPItertools

github ryanhaining/cppitertools

Range-based for loop add-ons inspired by the Python builtins and itertools library. Like itertools and the Python3 builtins, this library uses lazy evaluation wherever possible.

Note: Everything is inside the iter namespace.

range enumerate zip zip_longest imap filter filterfalse unique_everseen unique_justseen takewhile dropwhile cycle repeat count groupby starmap accumulate compress sorted chain chain.from_iterable reversed slice sliding_window chunked batched

Combinatoric fuctions

product combinations combinations_with_replacement permutations powerset