Properly constrain _Movable_box's copy constructors#3171
Properly constrain _Movable_box's copy constructors#3171StephanTLavavej merged 3 commits intomicrosoft:mainfrom
_Movable_box's copy constructors#3171Conversation
We failed to add constraints when implementing the _`copyable-box`_ to _`movable-box`_ relaxation. Drive-by: Rename `_Not_same_as` to `_Different_from` for consistency with the name change in the working draft.
|
Note: code introduced by #3043 still uses |
Co-authored-by: Jakub Mazurkiewicz <mazkuba3@gmail.com>
|
@JMazurkiewicz Thank you for noticing the stealth build break! 😻 😻 😻 |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for fixing this bug that had such surprisingly complicated consequences, and for aligning the exposition-only concept's naming with the Working Draft! 📦 📦 📦 |
Dare I mention that the concept's name is no longer... different-from the working draft? 😎 |
|
(I'm so tempted to changelog this insignificant internal change as "Upon noticing that |
We failed to add constraints when implementing the
copyable-boxtomovable-boxrelaxation.Drive-by: Rename
_Not_same_asto_Different_fromfor consistency with the name change in the working draft.