DarkSharpness commented on issue #265:
URL: https://github.com/apache/tvm-ffi/issues/265#issuecomment-3577403079

   Demo PR #286 , cc @tqchen @Ubospica , with minimal code change in core 
`ffi::Function`. To expose the overload closure type within the function 
object, we expose a `FromPackedInplace` static method for `ffi::Function`, 
which additionally returns a pointer to the underlying `Callable` (similar to 
the API of `std::vector::emplace_back`, which additionally returns the 
reference to the last-constructed element).
   
   The overload mechanism is all implemented in `extra/overload.h`.
   
   


-- 
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]

Reply via email to