#include "status_code_generic.h"
#include <stdint.h>
Go to the source code of this file.
|
| struct | status_code_system_s |
| | A status_code guaranteed to be able to hold any system error code in full. The payload is always an intptr_t. More...
|
| |
◆ status_code_system_make
| #define status_code_system_make |
( |
|
... | ) |
|
Value:
#define WG14_RESULT_TYPEOF_UNQUAL(...)
#define STATUS_CODE_DOMAIN_PAYLOAD_INFO_INIT_INNARDS(T)
#define STATUS_CODE_SYSTEM_MAKE_IMPL(src,...)
Make a system code from a typed input status code, this will fail if the input status cannot fit into a system code or if alignment requirements are not met.
Definition at line 102 of file status_code_system.h.
◆ STATUS_CODE_SYSTEM_MAKE_IMPL
◆ STATUS_CODE_SYSTEM_MAKE_IMPL2
| #define STATUS_CODE_SYSTEM_MAKE_IMPL2 |
( |
|
src, |
|
|
|
payload_size, |
|
|
|
total_size, |
|
|
|
total_alignment |
|
) |
| |
Value:
"cannot make a system code from a larger sized input", \
"cannot make a system code from a more over aligned input", (src))), \
WG14_RESULT_PREFIX(status_code_domain_payload_info_make)( \
(payload_size), (total_size), (total_alignment)))
#define WG14_RESULT_STATIC_ASSERT_WITHIN_EXPR(pred, msg,...)
#define status_code_system_make(...)
Make a system code from a typed input status code, this will fail if the input status cannot fit into...
A status_code guaranteed to be able to hold any system error code in full. The payload is always an i...
Definition at line 85 of file status_code_system.h.
◆ status_code_system
A status_code guaranteed to be able to hold any system error code in full. The payload is always an intptr_t.