Constructors
Synopses
Declared in <util/result.h>
Constructs a successful result holding a default‐constructed (void) value.
Result();
Move‐constructs a result, transferring the value or error.
Constructs a failed result holding the given error message.
Constructs a successful result holding the given value.
Parameters
Name |
Description |
other |
the result to move from |
error |
the error carrier whose message is moved into the result |
obj |
the success value to store |
Created with MrDocs