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/vector | |
| 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/vector')
| -rw-r--r-- | libcxx/include/vector | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/include/vector b/libcxx/include/vector index 0758f75bf3b..df143445fe7 100644 --- a/libcxx/include/vector +++ b/libcxx/include/vector @@ -319,7 +319,7 @@ __vector_base_common<__b>::__throw_out_of_range() const #pragma warning( push ) #pragma warning( disable: 4231 ) #endif // _LIBCPP_MSVC -_LIBCPP_EXTERN_TEMPLATE(class __vector_base_common<true>) +_LIBCPP_EXTERN_TEMPLATE(class _LIBCPP_TYPE_VIS __vector_base_common<true>) #ifdef _LIBCPP_MSVC #pragma warning( pop ) #endif // _LIBCPP_MSVC @@ -474,7 +474,7 @@ __vector_base<_Tp, _Allocator>::~__vector_base() } template <class _Tp, class _Allocator = allocator<_Tp> > -class _LIBCPP_TYPE_VIS vector +class _LIBCPP_TYPE_VIS_ONLY vector : private __vector_base<_Tp, _Allocator> { private: @@ -2011,7 +2011,7 @@ struct __has_storage_type<vector<bool, _Allocator> > }; template <class _Allocator> -class _LIBCPP_TYPE_VIS vector<bool, _Allocator> +class _LIBCPP_TYPE_VIS_ONLY vector<bool, _Allocator> : private __vector_base_common<true> { public: @@ -2369,7 +2369,7 @@ private: friend class __bit_iterator<vector, false>; friend class __bit_iterator<vector, true>; friend struct __bit_array<vector>; - friend struct _LIBCPP_TYPE_VIS hash<vector>; + friend struct _LIBCPP_TYPE_VIS_ONLY hash<vector>; }; template <class _Allocator> @@ -3152,7 +3152,7 @@ vector<bool, _Allocator>::__hash_code() const _NOEXCEPT } template <class _Allocator> -struct _LIBCPP_TYPE_VIS hash<vector<bool, _Allocator> > +struct _LIBCPP_TYPE_VIS_ONLY hash<vector<bool, _Allocator> > : public unary_function<vector<bool, _Allocator>, size_t> { _LIBCPP_INLINE_VISIBILITY |

