Max Kellermann
|
71f0ed8b74
|
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
|
2017-05-08 14:44:49 +02:00 |
|
Max Kellermann
|
6eea56861b
|
AUTHORS, ...: update my email address
|
2017-01-17 11:54:55 +01:00 |
|
Max Kellermann
|
c6e1ca1c22
|
system/Error: use std::generic_category() for errno on Windows
It's wrong to use std::system_category() for both GetLastError() and
errno on Windows. Apparently, everybody uses std::generic_category()
for errno values, which appears to be a safe choice.
Some discussion on this confusing topic can be found here:
https://stackoverflow.com/questions/28746372/system-error-categories-and-standard-system-error-codes
|
2016-12-04 20:07:11 +01:00 |
|
Max Kellermann
|
30dc473697
|
system/Error: allow using errno functions on Windows
The Windows standard library emulates part of POSIX, which includes
errno.
|
2016-12-04 20:07:09 +01:00 |
|
Max Kellermann
|
fc7d3f64c0
|
input/Plugin: migrate open() from class Error to C++ exceptions
|
2016-09-09 18:15:01 +02:00 |
|
Max Kellermann
|
a61f153df7
|
system/Error: add missing include
|
2016-07-02 13:59:47 +02:00 |
|
Max Kellermann
|
08754e6ce7
|
system/Error: add IsAccessDenied()
|
2015-12-29 12:56:26 +01:00 |
|
Max Kellermann
|
672e18cac9
|
system/Error: fix duplicate strerror() call
Apparently, the std::system_error constructor appends strerror()
already.
|
2015-12-27 06:05:53 +01:00 |
|
Max Kellermann
|
fe60c52c70
|
system/Error: add MakeErrno(), MakeLastError()
|
2015-12-18 01:08:16 +01:00 |
|
Max Kellermann
|
93f4590453
|
system/Error: add IsFileNotFound()
|
2015-12-18 00:54:23 +01:00 |
|
Max Kellermann
|
3092e5a8a5
|
system/Error: helper library for constructing std::system_error
|
2015-12-16 00:07:51 +01:00 |
|