mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-12-04 18:28:25 +00:00
Add __uncvref type for use in later patches
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@258491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a7960ff7f
commit
219d4efd34
@ -1084,6 +1084,13 @@ declval();
|
||||
|
||||
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
||||
|
||||
// __uncvref
|
||||
|
||||
template <class _Tp>
|
||||
struct __uncvref {
|
||||
typedef typename remove_cv<typename remove_reference<_Tp>::type>::type type;
|
||||
};
|
||||
|
||||
struct __any
|
||||
{
|
||||
__any(...);
|
||||
|
Loading…
Reference in New Issue
Block a user