https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71044
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-05-10 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Created attachment 38463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38463&action=edit Add assertions to directory iterator functions Also consider replacing non-inline functions such as directory_iterator::increment() with inline ones with assertions. This would allow those functions to check preconditions at runtime, and more functions could be noexcept.