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

basic_random_generator not safe in case a = a #145

Closed
dasfex opened this issue Dec 5, 2023 · 1 comment
Closed

basic_random_generator not safe in case a = a #145

dasfex opened this issue Dec 5, 2023 · 1 comment

Comments

@dasfex
Copy link

dasfex commented Dec 5, 2023

basic_random_generator& operator= (BOOST_RV_REF(basic_random_generator) that) BOOST_NOEXCEPT

Here we should check this == &that for cases when we try to self-assign object of that type. Wy we don't do it right now?

@pdimov
Copy link
Member

pdimov commented Apr 22, 2024

Should be fixed on develop.

@pdimov pdimov closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants