This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/71004] recursive_directory_iterator does not have a user-provided default ctor


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71004

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Fiselier from comment #1)
>     recursive_directory_iterator it;
>     assert(it.recursion_pending() == false);
>     assert(it.recursion_pending() == true);

N.B. This test is undefined, those observer functions have preconditions that
they are not called on the end iterator.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]