Fix event_generator constructor. (#1067)
* Guard `event_generator` implicit constructor with type test. * Fix linking error from use of `empty_generator` by replacing pointers to `no_event` with nullptr. * Clarify `regular_generator` semantics in comment. * Add unit test for checking. Fixes #1066
Please register or sign in to comment