diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-03-07 03:30:19 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-03-07 03:30:19 +0400 |
commit | 6e41256f6803ae236c51748c1b3472443b14c639 (patch) | |
tree | 230d9e55d39e9465389ce1e046b0958621c1169d /libcxx/include/array | |
parent | 084fad6a51338e5a141c7f7b3b58d5050692c992 (diff) |
No functionality change at this time. I've split _LIBCPP_VISIBLE up into two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
llvm-svn: 176593
Diffstat (limited to 'libcxx/include/array')
-rw-r--r-- | libcxx/include/array | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/array b/libcxx/include/array index f4a3020aeae7..bcf53478677e 100644 --- a/libcxx/include/array +++ b/libcxx/include/array @@ -118,7 +118,7 @@ template <int I, class T, size_t N> T&& get(array<T, N>&&) noexcept; _LIBCPP_BEGIN_NAMESPACE_STD template <class _Tp, size_t _Size> -struct _LIBCPP_VISIBLE array +struct _LIBCPP_TYPE_VIS array { // types: typedef array __self; @@ -284,22 +284,22 @@ swap(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) } template <class _Tp, size_t _Size> -class _LIBCPP_VISIBLE tuple_size<array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS tuple_size<array<_Tp, _Size> > : public integral_constant<size_t, _Size> {}; template <class _Tp, size_t _Size> -class _LIBCPP_VISIBLE tuple_size<const array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS tuple_size<const array<_Tp, _Size> > : public integral_constant<size_t, _Size> {}; template <size_t _Ip, class _Tp, size_t _Size> -class _LIBCPP_VISIBLE tuple_element<_Ip, array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS tuple_element<_Ip, array<_Tp, _Size> > { public: typedef _Tp type; }; template <size_t _Ip, class _Tp, size_t _Size> -class _LIBCPP_VISIBLE tuple_element<_Ip, const array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS tuple_element<_Ip, const array<_Tp, _Size> > { public: typedef const _Tp type; |