alpaka
Abstraction Library for Parallel Kernel Acceleration
DemangleTypeNames.hpp
Go to the documentation of this file.
1
/* Copyright 2022 Andrea Bocci, Antonio Di Pilato
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
#include "
alpaka/core/BoostPredef.hpp
"
8
9
#include <boost/core/demangle.hpp>
10
11
namespace
alpaka::core
12
{
13
#if BOOST_COMP_CLANG
14
# pragma clang diagnostic push
15
# pragma clang diagnostic ignored "-Wexit-time-destructors"
16
# pragma clang diagnostic ignored "-Wmissing-variable-declarations"
17
#endif
18
template
<
typename
T>
19
inline
const
std::string
demangled
= boost::core::demangle(
typeid
(T).name());
20
#if BOOST_COMP_CLANG
21
# pragma clang diagnostic pop
22
#endif
23
}
// namespace alpaka::core
BoostPredef.hpp
alpaka::core
Definition:
Align.hpp:13
alpaka::core::demangled
const std::string demangled
Definition:
DemangleTypeNames.hpp:19
include
alpaka
core
DemangleTypeNames.hpp
Generated on Thu Dec 12 2024 11:51:45 for alpaka by
1.9.1