lewissbaker / generator

Reference implementation of std::generator proposal
Boost Software License 1.0
25 stars 7 forks source link

Remove support for iterating over a default-constructed generator #9

Closed lewissbaker closed 3 years ago

lewissbaker commented 3 years ago

This removes the need for some conditional checks for a null coroutine_handle when iterating over the elements.

Suggested during initial review of P2168 in LEWG.