[committed] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593)

Message ID 20220111152125.2577604-1-jwakely@redhat.com
State Committed
Commit 46de918f9892e637845bd97b4ca95011d46d3733
Headers
Series [committed] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) |

Commit Message

Jonathan Wakely Jan. 11, 2022, 3:21 p.m. UTC
  Tested powerpc64le-linux. Pushed to trunk.


This was approved at the October 2021 plenary. We already have noexcept
in the other places the issue adds it in the spec.

libstdc++-v3/ChangeLog:

	* include/std/ranges (ranges::lazy_split_view::_InnerIter::end()):
	Add neoxcept (LWG 3593).
---
 libstdc++-v3/include/std/ranges | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
index 780a3633417..ac85907f129 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -3066,7 +3066,7 @@  namespace views::__adaptor
 	    { return _InnerIter<_Const>{_M_i}; }
 
 	    constexpr default_sentinel_t
-	    end() const
+	    end() const noexcept
 	    { return default_sentinel; }
 	  };