diff --git a/stl/inc/xutility b/stl/inc/xutility index d4b5112f2de..51cdd466fe8 100644 --- a/stl/inc/xutility +++ b/stl/inc/xutility @@ -2287,9 +2287,8 @@ namespace ranges { using sentinel_t = decltype(_RANGES end(_STD declval<_Rng&>())); template - concept _Weakly_unwrappable = - same_as::_Prevent_inheriting_unwrap, remove_cvref_t<_Wrapped>> - && requires(_Wrapped&& _Wr) { _STD forward<_Wrapped>(_Wr)._Unwrapped(); }; + concept _Weakly_unwrappable = _Allow_inheriting_unwrap_v> + && requires(_Wrapped&& _Wr) { _STD forward<_Wrapped>(_Wr)._Unwrapped(); }; template concept _Weakly_unwrappable_sentinel = _Weakly_unwrappable&>;