]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add 'noexcept' to path::iterator members
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 Sep 2021 11:28:35 +0000 (12:28 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 17 Sep 2021 19:43:34 +0000 (20:43 +0100)
commit42eff613d0c10f88dc7a44b14981876401a09981
tree91f12bb0a71483c788058ed74bb572f47fa85262
parent1fa2c5a695bb962ffcf8abed49f69cdcc59d0e61
libstdc++: Add 'noexcept' to path::iterator members

All path::iterator operations are non-throwing.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/fs_path.h (path::iterator): Add noexcept to all
member functions and friend functions.
(distance): Add noexcept.
(advance): Add noexcept and inline.
* include/experimental/bits/fs_path.h (path::iterator):
Add noexcept to all member functions.
libstdc++-v3/include/bits/fs_path.h
libstdc++-v3/include/experimental/bits/fs_path.h