21#if !(defined(__GNUC__) || defined(__clang__) || defined(__PGI) || defined(__NVCOMPILER) || defined(_MSC_VER))
22# if defined(__cpp_lib_source_location)
23# include <source_location>
41#if defined(__GNUC__) || defined(__clang__) || defined(__PGI) || defined(__NVCOMPILER)
44#elif defined(_MSC_VER)
47#elif defined(__cpp_lib_source_location)
49 return std::source_location::current().function_name();
53 "This compiler is not recognised and it does not support std::source_location. Please add explicit support to \"alpaka/core/DemangleTypeNames.hpp\"."
77 static_assert(
start < end);
81 std::array<char, length + 1>
storage{};
84#if ALPAKA_COMP_CLANG >= ALPAKA_VERSION_NUMBER(21, 0, 0)
85# pragma clang diagnostic push
86# pragma clang diagnostic ignored "-Wnrvo"
89#if ALPAKA_COMP_CLANG >= ALPAKA_VERSION_NUMBER(21, 0, 0)
90# pragma clang diagnostic pop
111 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