-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Make some special member functions of shared_mutex, shared_timed_mutex, and shared_lock defaulted
#3352
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
Make some special member functions of shared_mutex, shared_timed_mutex, and shared_lock defaulted
#3352
Conversation
Perhaps I'll put it back later.
Not sure whether I'm doing a reasonable thing...
|
Thanks - I've pushed a merge with I believe that this preserves ABI because the triviality of copy ctors is not affected. |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for sharing these improvements! 😹 🎉 🚀 |
Destructors of
shared_mutexandshared_timed_mutexcan be implicitly declared. Towards #845.Destructor of
shared_mutexwill become trivial after the change. I'm not sure whether this has ABI impact.