Function make_memory_finalizer¶
function make_memory_finalizer(Fn &&) base¶
template <typename Fn>
memory_finalizer KFR_INTRINSIC make_memory_finalizer(Fn&& fn) Creates a memory finalizer that invokes fn when the handle is destroyed.
| Fn | Callable type invoked with no arguments. |
| fn | Callable invoked on finalizer destruction. |
| Shared handle holding the finalizer. |
Fully qualified name: kfr::make_memory_finalizer(Fn &&)
Declared at base/tensor.hpp:81
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.