19#if !(defined(__GNUC__) || defined(__clang__) || defined(__PGI) || defined(__NVCOMPILER) || defined(_MSC_VER))
20# if defined(__cpp_lib_source_location)
21# include <source_location>
39#if defined(__GNUC__) || defined(__clang__) || defined(__PGI) || defined(__NVCOMPILER)
42#elif defined(_MSC_VER)
45#elif defined(__cpp_lib_source_location)
47 return std::source_location::current().function_name();
51 "This compiler is not recognised and it does not support std::source_location. Please add explicit support to \"alpaka/core/DemangleTypeNames.hpp\"."
75 static_assert(
start < end);
79 std::array<char, length + 1>
storage{};
102 inline constexpr std::string_view
demangled = detail::demangle<T>();
consteval std::string_view demangle()
consteval auto demangleAsArray()
consteval std::string_view embedTypeName()
constexpr std::string_view testPatternName("double")
constexpr std::string_view demangled
auto clipCast(V const &val) -> T