[Bug libstdc++/71415] std::filesystem::exists that does not throw sets error code if file does not exist
marejde at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jun 6 12:20:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71415
--- Comment #3 from Martin Ejdestig <marejde at gmail dot com> ---
> 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.
Oh, OK. It seems odd to me that an error is signaled for something that should
be considered "normal operations" though.
> I'll discuss with the C++ committee whether this behaviour is really desirable, > but it seems to be what the spec requires, and not a bug in GCC.
OK, thanks.
Is there some way for me to track the discussion? The isocpp.org Google group?
Or is there e.g. some other mailing list where std::filesystem is discussed? I
am just curious. :)
More information about the Gcc-bugs
mailing list