|
libcppwrap
A collection of C++ wrappers for native APIs
|


Go to the source code of this file.
Namespaces | |
| namespace | w |
Functions | |
| template<typename T > | |
| T | w::throw_if_eq (T value, T x, const char *message) |
Throw a std::system_error with errno if value == x, otherwise return value. More... | |
| template<typename T > | |
| T | w::throw_if_lt (T value, T x, const char *message) |
Throw a std::system_error with errno if value < x, otherwise return value. More... | |
| template<typename T > | |
| T | w::throw_if_ne (T value, T x, const char *message) |
Throw a std::system_error with errno if value != x, otherwise return value. More... | |
| template<typename T > | |
| T | w::throw_if_nz (T value, const char *message) |
Throw a std::system_error with errno if value != 0, otherwise return value. More... | |
| template<typename T > | |
| T | w::throw_if_z (T value, const char *message) |
Throw a std::system_error with errno if value == 0, otherwise return value. More... | |