status-code icon indicating copy to clipboard operation
status-code copied to clipboard

Proposed SG14 status_code for the C++ standard

Results 8 status-code issues
Sort by recently updated
recently updated
newest added

WIndows GNU ABI has different mangling than MSVC ABI, so the linker symbol aliases for GetLastError / FormatMessage etc don't work. These aliases instead would work: ``` #if defined(__MINGW32__) #if...

bug

Sadly OSStatus can mean any number of error so likely it'd have to be per-api... https://www.osstatus.com/search/results?platform=all&framework=all&search=2

enhancement

Nested status codes should inspect if their comparator is a nested status code, and if so unwrap it before doing the equivalency call.

bug

**Problem Description** Since `` has been superseeded in C++20/23 as the preferred stringification/formatting API, I would like to use either fmtlib or `std::format` to format error messages/log output. This is...

enhancement

Currently contains some basic scaffolding for #51 and the simplest formatter specialization (`string_ref`).

- The caller is expected to `malloc` a region `length + 1` and zero terminate it before handing it in. - This is highly prone to mistake and surprise. -...

bug

```cpp namespace std { template auto operator throw(T t) { if constexpr (requires {t.operator throw();}) return t.operator throw(); else return operator throw(t); } generic_code operator throw(errc e) noexcept { return...