|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
Wrapper that contains an Object (T) or an error. More...
#include <errors.hpp>


Public Types | |
| using | ExpectedType = T |
Public Member Functions | |
| result (tl::expected< T, lief_errors > e) | |
Wrapper that contains an Object (T) or an error.
The tl/expected implementation exposes the method value() to access the underlying object (if no error)
Typical usage is:
See https://tl.tartanllama.xyz/en/latest/api/expected.html for more details
| using LIEF::result< T >::ExpectedType = T |
|
inline |
Referenced by LIEF::optional< T >::optional().