You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core: align the smart-pointer constructor constraints with the assignments
The three converting constructors listed IsPolymorphic before the
constructibility test, the two converting assignments after it. Put the
exposition-only traits at the ends in all five, so the rendered clause reads
SameSmartPtr && <constructible|assignable> && IsPolymorphic throughout, and the
five template parameter lists are spelled and formatted identically.
Substitution still short-circuits on SameSmartPtr, so `typename
Other::element_type` is only formed for an actual smart pointer.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments