|
cuVSLAM API Reference
|
Result type that can hold either success data or error information. More...
Static Public Member Functions | |
| static Result< T > | Success (T &&value) |
| static Result< T > | Error (std::string_view message) |
Public Attributes | |
| std::optional< T > | data |
| data | |
| std::string_view | error_message |
| error message | |
Result type that can hold either success data or error information.
For use in callbacks. Result::error_message should not outlive the callback scope.
|
inlinestatic |
|
inlinestatic |