projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83a5a6
)
libstdc++: Remove noexcept from syncbuf::swap (LWG 3498)
author
Jonathan Wakely
<jwakely@redhat.com>
Fri, 25 Jun 2021 17:31:22 +0000
(18:31 +0100)
committer
Jonathan Wakely
<jwakely@redhat.com>
Fri, 25 Jun 2021 17:41:30 +0000
(18:41 +0100)
The proposed resolution for the inconsistent noexcept-specifiers in the
spec is to remove it from bto hthe assignment operator and swap.
libstdc++-v3/ChangeLog:
* include/std/syncstream (basic_syncbuf::swap()): Remove
noexcept, as per LWG 3498.
libstdc++-v3/include/std/syncstream
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/std/syncstream
b/libstdc++-v3/include/std/syncstream
index
299941f
..
db6ebd5
100644
(file)
--- a/
libstdc++-v3/include/std/syncstream
+++ b/
libstdc++-v3/include/std/syncstream
@@
-114,7
+114,7
@@
_GLIBCXX_BEGIN_NAMESPACE_VERSION
}
void
- swap(basic_syncbuf& __other)
noexcept
+ swap(basic_syncbuf& __other)
{
using _ATr = allocator_traits<_Alloc>;
if constexpr (!_ATr::propagate_on_container_swap::value)