Skip to content

function to_handle(E &) base

template <typename E, typename T = expression_value_type<E>, index_t Dims = expression_dims<E>>
KFR_INTRINSIC expression_handle<T, Dims> to_handle(E& expr)

Converts the given expression into an opaque object. This overload takes reference to the expression.

Warning

Use with caution with local variables.

Defined at base/handle.hpp:287