halide_handle_traits#
-
template<typename T>
struct halide_handle_traits# A type traits template to provide a halide_handle_cplusplus_type value from a C++ type.
Note the type represented is implicitly a pointer.
A NULL pointer of type halide_handle_traits represents “void *”. This is chosen for compactness or representation as Type is a very widely used data structure.
Although this is in the global namespace, it should be considered “Halide Internal” and subject to change; code outside Halide should avoid referencing it directly.