[Bug libstdc++/71415] New: std::filesystem::exists that does not throw sets error code if file does not exist

2016-06-04 Thread marejde at gmail dot com
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: marejde at gmail dot com Target Milestone: --- The following program: #include #include int main(int argc, char *argv[]) { std::error_code error_code

[Bug libstdc++/71415] std::filesystem::exists that does not throw sets error code if file does not exist

2016-06-05 Thread marejde at gmail dot com
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.

[Bug libstdc++/71415] std::filesystem::exists that does not throw sets error code if file does not exist

2016-06-06 Thread marejde at gmail dot com
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. O

[Bug libstdc++/71415] std::filesystem::exists that does not throw sets error code if file does not exist

2016-06-06 Thread marejde at gmail dot com
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.

[Bug libstdc++/78237] New: std::timed_mutex::try_lock_for/until affected by system realtime clock

2016-11-07 Thread marejde at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: marejde at gmail dot com Target Milestone: --- The following program: #include #include #include #include int main(void) { std::recursive_timed_mutex mutex

[Bug libstdc++/65499] New: Missing "using namespace literals::chrono_literals" in std::chrono

2015-03-20 Thread marejde at gmail dot com
ty: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: marejde at gmail dot com Reading http://en.cppreference.com/w/cpp/chrono/operator%22%22min (sorry, I do not have the spec readily available) it says: "In addit

[Bug libstdc++/65499] Missing "using namespace literals::chrono_literals" in std::chrono

2015-03-20 Thread marejde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65499 --- Comment #1 from Martin Ejdestig --- See the end of 20.12.2 ("Header synopsis"). Maybe it is too late for 5.0?