diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-14 13:58:02 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-14 22:19:38 +0100 |
commit | 373acac1c8f2d64409ccea6aea409a0e15e80a6a (patch) | |
tree | 03c50439903eadb18815e205c41e79c6a36b1ab6 /gcc/tree-loop-distribution.c | |
parent | 04a9b8d2f38573d0527edeea9e4fd9b7dfdc7983 (diff) | |
download | gcc-373acac1c8f2d64409ccea6aea409a0e15e80a6a.zip gcc-373acac1c8f2d64409ccea6aea409a0e15e80a6a.tar.gz gcc-373acac1c8f2d64409ccea6aea409a0e15e80a6a.tar.bz2 |
libstdc++: Make filesystem::path(path&&) always noexcept
Since r12-4065 std::basic_string is always nothrow-move-constructible,
so filesystem::path is too.
That also means that path::_S_convert(T) is noexcept when returning its
argument, because T is either a basci_string or basic_string_view, and
will be moved into the return value.
libstdc++-v3/ChangeLog:
* include/bits/fs_path.h (path(path&&)): Make unconditionally
noexcept.
(path::_S_convert(T)): Add condtional noexcept.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions