Mark is_final as a C++14 feature.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@202991 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2014-03-05 17:58:48 +00:00
parent 0d6dcb5569
commit 24b29a02f1
2 changed files with 2 additions and 2 deletions

View File

@ -762,7 +762,7 @@ template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_abstract : public __libcpp_
// is_final
#if __has_feature(is_final)
#if _LIBCPP_STD_VER > 11 && __has_feature(is_final)
template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY
is_final : public integral_constant<bool, __is_final(_Tp)> {};
#endif

View File

@ -13,7 +13,7 @@
#include <type_traits>
#if __cplusplus >= 201103L
#if _LIBCPP_STD_VER > 11
struct P final { };
union U1 { };