36 #ifndef NEKTAR_LIB_UTILITIES_BASICUTILS_RAW_TYPE_HPP
37 #define NEKTAR_LIB_UTILITIES_BASICUTILS_RAW_TYPE_HPP
40 #include <type_traits>
47 typename std::decay<typename std::remove_pointer<T>::type>
::type type;
50 template <
typename T>
struct RawType<std::shared_ptr<T>>
55 template <
typename T>
struct RawType<const std::shared_ptr<T>>
60 template <
typename T>
struct RawType<volatile std::shared_ptr<T>>
65 template <
typename T>
struct RawType<const volatile std::shared_ptr<T>>
The above copyright notice and this permission notice shall be included.
typename RawType< T >::type RawType_t
std::decay< typename std::remove_pointer< T >::type >::type type