guan404ming opened a new pull request, #399:
URL: https://github.com/apache/tvm-ffi/pull/399
## Why
Enable exception-free C++ API similar to Rust's Result or C++23's
std::expected, as requested in #234.
## How
- Add `Expected<T>` class holding either success value T or Error
- Add `Function::CallExpected<T>()` for exception-free function calls
- Add `is_expected` type trait and Expected handling in `unpack_call`
- Support registering functions that return `Expected<T>`"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]