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:
@@ -1084,6 +1084,13 @@ declval();
|
|||||||
|
|
||||||
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
|
#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
|
struct __any
|
||||||
{
|
{
|
||||||
__any(...);
|
__any(...);
|
||||||
|
|||||||
Reference in New Issue
Block a user