Learn how to implement lazy cartesian product in modern C++ using coroutines and iterators. Generate combinations on-demand without upfront computation for better memory efficiency and early termination support.