produce stringview of type name of a type. Avoids using typeid for GCC, MSVC, and CLANG. For other compilers it will fall back to typeid.name() More...
#include <string_view>#include <typeinfo>Go to the source code of this file.
Namespaces | |
| namespace | bbm |
Macros | |
| #define | toTypestring(...) bbm::typestring<decltype(__VA_ARGS__)> |
Variables | |
| template<typename T > | |
| static constexpr std::string_view | typestring = bbm::detail::typestring_impl<T>() |
produce stringview of type name of a type. Avoids using typeid for GCC, MSVC, and CLANG. For other compilers it will fall back to typeid.name()
| #define toTypestring | ( | ... | ) | bbm::typestring<decltype(__VA_ARGS__)> |