Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coroutine: experimental: generator: implement move and swap #2354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 17, 2024

  1. coroutine: experimental: generator: implement move and swap

    The coroutine generator move ctor, move assignment operator,
    and swap override were never fully implemented.
    
    This patch completes their implementation
    and adds unit tests to cover move and swap
    and also moving not-drained generator (to test
    moving of their buffered value(s)).
    
    Fixes scylladb#1789
    
    Signed-off-by: Benny Halevy <[email protected]>
    bhalevy committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    311c33d View commit details
    Browse the repository at this point in the history