[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
Sun Jun 5 08:05:00 GMT 2016


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

--- Comment #1 from Martin Ejdestig <marejde at gmail dot com> ---
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.


More information about the Gcc-bugs mailing list