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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Steffen Schuemann from comment #6)
> And just for the fun of it, I used some time to double check the source of
> libc++ and compiled myself a clang-8 from HEAD to run my tests with that one
> too, and it is just the other way around: create_directories fails/throws
> when a file with that name exists, and create_directory doesn't. :-)

Ha!

> In the end, I vote for consistency, either the more useful way with the
> postcondition, or the fixed way without. Whichever docs you use when calling
> them, they should behave consistently.

Yes, I definitely agree.

Once the committee finishes discussing it and decides to either revisit the DR,
or reconfirm it's definitely what we want, then I'll change libstdc++.

Reply via email to