cuda::experimental::stf::type_name#

template<class T>
const ::std::string_view cuda::experimental::stf::type_name{::cuda::std::__pretty_nameof<T>().data(), ::cuda::std::__pretty_nameof<T>().size()}#

Yields a string form of type name.

Exact spelling not guaranteed (e.g. type_name<int*> may be "int*", "int *" etc).

Thin wrapper around cuda::std::__pretty_nameof<T>() returning ::std::string_view.


Template Parameters:

T – The type to show.