mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 04:22:04 -04:00
Add support for identity_of
This commit is contained in:
parent
c2883b0fed
commit
d131631ce4
@ -374,6 +374,14 @@ struct is_integral<unsigned long long> {
|
|||||||
static constexpr const bool value = true;
|
static constexpr const bool value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
struct identity_of {
|
||||||
|
using type = T;
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
using identity_of_t = typename identity_of<T>::type;
|
||||||
|
|
||||||
} //end of namespace std
|
} //end of namespace std
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user