[Bug c++/94418] New: Please make reverse_iterator nothrow constructible when possible
rafael at espindo dot la
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 01:15:35 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418
Bug ID: 94418
Summary: Please make reverse_iterator nothrow constructible
when possible
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rafael at espindo dot la
Target Milestone: ---
The standard in res.on.exception.handling says:
An implementation may strengthen the exception specification for a non-virtual
function by adding a non-throwing exception specification.
So, as far as I understand, libstdc++ could make the constructors of
std::reverse_iterator noexcept when the corresponding constructors of the
underlying iterators are noexcept.
More information about the Gcc-bugs
mailing list