tqchen opened a new pull request, #791: URL: https://github.com/apache/tvm-ffi/pull/791
Add rvalue-qualified `UnchangedOr<T>::as<U>()` and `as_or_throw<U>()` for strict casts to an exact target type. Forwarding to `Any` preserves its supported types, mismatch behavior and ownership transfer, including successful unchanged results when the target is another `UnchangedOr`. Add the symmetric raw-storage adoption helper for ABI callers that already guarantee an unchanged marker or a valid replacement. -- 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]
