xieite ::type_name <>
Defined in header <xieite/meta/type_name.hpp>
Stores the name of a type as a string by extracting it from
__PRETTY_FUNCTION__
or __FUNCSIG__
.Does not perform any additional string processing, so the output is entirely compiler-dependent.
Declaration
template <typename T >constexpr std ::string_view type_name =/* ??? */ ;
Example
Possible output:int main () {xieite ::dump (xieite ::type_name <std ::vector <int >>); }
[View in Compiler Explorer]std::vector<int>