forked from boostorg/smart_ptr
Add sp_type_identity
This commit is contained in:
1 parent
9466e73cbe
commit
63589908b5
3 files changed
+39
No files matched your search
@@ -32,6 +32,13 @@ template<class T> struct sp_is_unbounded_array< T[] >: std::true_type
|
||||
{
|
||||
};
|
||||
|
||||
// std::type_identity (C++20)
|
||||
|
||||
template<class T> struct sp_type_identity
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace boost
|
||||
|
||||
|
||||
Reference in new issue
Block a user