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

Add support for movability to random generators. Fix POSIX random provider #74

Merged
merged 1 commit into from Jun 18, 2018

Commits on Jun 17, 2018

  1. Add support for movability to random generators. Fix POSIX random pro…

    …vider.
    
    The commit adds support for move constructors and assignment to random UUID
    generators and random providers. Also, in POSIX random provider, the commit
    improves handling of return value from ::read(), which returns -1
    in case of error and may return 0 in case of success. Retry the call when
    it was interrupted before reading any bytes from /dev/urandom.
    
    Added new tests for movability and compile-fail tests for no copyability.
    
    This addresses GitHub issue:
    
    boostorg#71
    Lastique committed Jun 17, 2018
    Copy the full SHA
    429daf0 View commit details
    Browse the repository at this point in the history