Author: ericwf Date: Wed Mar 16 15:32:07 2016 New Revision: 263659 URL: http://llvm.org/viewvc/llvm-project?rev=263659&view=rev Log: Add __unconstref for future use
Modified: libcxx/trunk/include/type_traits Modified: libcxx/trunk/include/type_traits URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/type_traits?rev=263659&r1=263658&r2=263659&view=diff ============================================================================== --- libcxx/trunk/include/type_traits (original) +++ libcxx/trunk/include/type_traits Wed Mar 16 15:32:07 2016 @@ -1072,6 +1072,11 @@ struct __uncvref { typedef typename remove_cv<typename remove_reference<_Tp>::type>::type type; }; +template <class _Tp> +struct __unconstref { + typedef typename remove_const<typename remove_reference<_Tp>::type>::type type; +}; + // __is_same_uncvref template <class _Tp, class _Up> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits