File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ You can find an example of use
2525Experimental.Outcome works great with C++ exceptions globally disabled, and includes
2626only a very minimal set of C++ headers.
2727
28+ If you want a 100% pure C edition with multiple language bindings, the reference
29+ implementation for WG14 the C programming language is available at https://github.com/ned14/wg14_result .
30+ This C++ implementation is 100% ABI compatible with the pure C edition and objects
31+ can be freely reinterpet casted between both implementations.
32+
2833## Features:
2934
3035- Portable to any C++ 11 compiler. These are known to work:
Original file line number Diff line number Diff line change @@ -261,6 +261,10 @@ class status_code_domain
261261 SYSTEM_ERROR2_FATAL (buffer);
262262 }
263263 }
264+ o._begin = nullptr ;
265+ o._end = nullptr ;
266+ o._state [0 ] = o._state [1 ] = o._state [2 ] = nullptr ;
267+ *(_thunk_spec *) (&o._thunk ) = nullptr ;
264268 }
265269 // ! Copy assignment
266270 SYSTEM_ERROR2_CONSTEXPR20 string_ref &operator =(const string_ref &o)
You can’t perform that action at this time.
0 commit comments