public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6484] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593)
@ 2022-01-11 15:17 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-01-11 15:17 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:46de918f9892e637845bd97b4ca95011d46d3733
commit r12-6484-g46de918f9892e637845bd97b4ca95011d46d3733
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 11 14:22:47 2022 +0000
libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593)
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).
Diff:
---
libstdc++-v3/include/std/ranges | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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; }
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-11 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 15:17 [gcc r12-6484] libstdc++: Add missing noexcept to lazy_split_view iterator (LWG 3593) Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).