mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
13 lines
463 B
C++
13 lines
463 B
C++
#pragma once
|
|
|
|
template <typename T>
|
|
struct TIsPointer
|
|
{
|
|
enum { Value = false };
|
|
};
|
|
|
|
template <typename T> struct TIsPointer<T*> { enum { Value = true }; };
|
|
|
|
template <typename T> struct TIsPointer<const T> { enum { Value = TIsPointer<T>::Value }; };
|
|
template <typename T> struct TIsPointer< volatile T> { enum { Value = TIsPointer<T>::Value }; };
|
|
template <typename T> struct TIsPointer<const volatile T> { enum { Value = TIsPointer<T>::Value }; }; |