![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
A result of a function call. More...
#include <result>
Public Member Functions | |
| Result ()=delete | |
| Prevent default construction. | |
A result of a function call.
Either has some resulting value or an error.
The error is always an integer and, if present, a negative value by convention. Any access to the value is fatal if the objects holds an error.
|
delete |
Prevent default construction.
A Result object either holds a value or an error. There is no third "empty" state.