diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
| commit | f0544c2086a1a592e294f24d62973ce732af33da (patch) | |
| tree | ada52136fb9bb9601fe9cbacc7cb7f9f37a90165 /libcxx/include/array | |
| parent | dafc7d9447d8e7d84233e6dcd39e573adbaf4450 (diff) | |
| download | bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.tar.gz bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.zip | |
Nico Rieck: this patch series fixes visibility issues on Windows as explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>.
llvm-svn: 188192
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 86d1fc0be69..3174fe943f5 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; // constexp _LIBCPP_BEGIN_NAMESPACE_STD template <class _Tp, size_t _Size> -struct _LIBCPP_TYPE_VIS array +struct _LIBCPP_TYPE_VIS_ONLY array { // types: typedef array __self; @@ -285,22 +285,22 @@ swap(const array<_Tp, _Size>& __x, const array<_Tp, _Size>& __y) } template <class _Tp, size_t _Size> -class _LIBCPP_TYPE_VIS tuple_size<array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS_ONLY tuple_size<array<_Tp, _Size> > : public integral_constant<size_t, _Size> {}; template <class _Tp, size_t _Size> -class _LIBCPP_TYPE_VIS tuple_size<const array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS_ONLY tuple_size<const array<_Tp, _Size> > : public integral_constant<size_t, _Size> {}; template <size_t _Ip, class _Tp, size_t _Size> -class _LIBCPP_TYPE_VIS tuple_element<_Ip, array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS_ONLY tuple_element<_Ip, array<_Tp, _Size> > { public: typedef _Tp type; }; template <size_t _Ip, class _Tp, size_t _Size> -class _LIBCPP_TYPE_VIS tuple_element<_Ip, const array<_Tp, _Size> > +class _LIBCPP_TYPE_VIS_ONLY tuple_element<_Ip, const array<_Tp, _Size> > { public: typedef const _Tp type; |

