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:
Eric Fiselier 2016-01-22 06:25:47 +00:00
parent 7a7960ff7f
commit 219d4efd34

View File

@ -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(...);