![]()  | 
  
    General Utility Library for C++17 25.7.0
    
   | 
 
Generating human-readable descriptions for types.
Classes | |
| class | gul17::FailToInstantiate< T > | 
| A helper class to debug types.  More... | |
Functions | |
| template<class T > | |
| constexpr std::string_view | gul17::type_name () | 
| Generate a human readable string describing a type.   | |
Generate a human readable string describing a type.
Cuts out the most relevant part of __PRETTY_FUNCTION__ of itself, ignoring all the stuff that contains information on the function itself, leaving just the description of the template parameter.
Note: __FUNCSIG__ with MSVC.
This function can only be constexpr if __PRETTY_FUNCTION__ is constexpr. This function is not constexpr with MSVC because of language limits.
Use like this:
| T | Type that shall be described | 
References gul17::bit_set().