diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-01-22 06:25:47 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-01-22 06:25:47 +0000 |
| commit | d033ad21d027774f19699b88e5c54c8a3ddf9178 (patch) | |
| tree | 619bbf8ad58d90be1275a5ca06ee63eb172b23d5 | |
| parent | 674d238bcc004196a636ede7cd66819759a8834b (diff) | |
| download | bcm5719-llvm-d033ad21d027774f19699b88e5c54c8a3ddf9178.tar.gz bcm5719-llvm-d033ad21d027774f19699b88e5c54c8a3ddf9178.zip | |
Add __uncvref type for use in later patches
llvm-svn: 258491
| -rw-r--r-- | libcxx/include/type_traits | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/include/type_traits b/libcxx/include/type_traits index 3b80a9efa5d..f13e29f971b 100644 --- a/libcxx/include/type_traits +++ b/libcxx/include/type_traits @@ -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(...); |

