https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
--- Comment #5 from Martin Ejdestig ---
(In reply to Jonathan Wakely from comment #4)
> A new issue should get added to
> http://cplusplus.github.io/LWG/lwg-active.html
Thank you.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
--- Comment #4 from Jonathan Wakely ---
(In reply to Martin Ejdestig from comment #3)
> Oh, OK. It seems odd to me that an error is signaled for something that
> should be considered "normal operations" though.
I agree.
> Is there some way for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
--- Comment #3 from Martin Ejdestig ---
> The semantics of exists(const path&, error_code&) are precisely specified,
> and > I think this behaviour is correct according to the specification. This
> is also > consistent with Boost.Filesystem.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
--- Comment #1 from Martin Ejdestig ---
Sorry, a copy paste error slipped in. Last print out should be:
std::cout << "error_code operator bool: " << (error_code ? true : false) <<
'\n';
Output is still the same though.