diff --git a/stl/inc/iterator b/stl/inc/iterator index 42b7bd52160..0539de6cdfd 100644 --- a/stl/inc/iterator +++ b/stl/inc/iterator @@ -602,7 +602,7 @@ public: #endif // TRANSITION, VSO-1225825 _Variantish(const _Variantish& _That) noexcept( - noexcept(is_nothrow_copy_constructible_v<_It>&& is_nothrow_copy_constructible_v<_Se>)) + is_nothrow_copy_constructible_v<_It>&& is_nothrow_copy_constructible_v<_Se>) : _Contains{_That._Contains} { switch (_Contains) { case _Variantish_state::_Holds_iter: diff --git a/stl/inc/ranges b/stl/inc/ranges index 9e54f51b2cb..6483674740c 100644 --- a/stl/inc/ranges +++ b/stl/inc/ranges @@ -1187,7 +1187,7 @@ namespace ranges { _Iterator() = default; constexpr _Iterator(_Parent_t& _Parent_, iterator_t<_Base> _Current_) noexcept( - noexcept(is_nothrow_move_constructible_v>)) // strengthened + is_nothrow_move_constructible_v>) // strengthened : _Current{_STD move(_Current_)}, _Parent{_STD addressof(_Parent_)} { #if _ITERATOR_DEBUG_LEVEL != 0 _Adl_verify_range(_Current, _RANGES end(_Parent_._Range));