diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2010-09-21 21:28:23 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2010-09-21 21:28:23 +0000 |
| commit | fb100021b722163794ce8522d91a469f06bf43ce (patch) | |
| tree | 9f0f6b83ecae45fcfbcdcd3b2a8fcb4c06478468 /libcxx/include/complex | |
| parent | 9e826e32925cc13b8ad91ee3a743480ced4a1246 (diff) | |
| download | bcm5719-llvm-fb100021b722163794ce8522d91a469f06bf43ce.tar.gz bcm5719-llvm-fb100021b722163794ce8522d91a469f06bf43ce.zip | |
visibility-decoration.
llvm-svn: 114486
Diffstat (limited to 'libcxx/include/complex')
| -rw-r--r-- | libcxx/include/complex | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/libcxx/include/complex b/libcxx/include/complex index 96eeff64e4c..0ec829b7360 100644 --- a/libcxx/include/complex +++ b/libcxx/include/complex @@ -253,13 +253,13 @@ template<class T, class charT, class traits> _LIBCPP_BEGIN_NAMESPACE_STD -template<class _Tp> class complex; +template<class _Tp> class _LIBCPP_VISIBLE complex; template<class _Tp> complex<_Tp> operator*(const complex<_Tp>& __z, const complex<_Tp>& __w); template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y); template<class _Tp> -class complex +class _LIBCPP_VISIBLE complex { public: typedef _Tp value_type; @@ -316,11 +316,11 @@ public: } }; -template<> class complex<double>; -template<> class complex<long double>; +template<> class _LIBCPP_VISIBLE complex<double>; +template<> class _LIBCPP_VISIBLE complex<long double>; template<> -class complex<float> +class _LIBCPP_VISIBLE complex<float> { float __re_; float __im_; @@ -375,7 +375,7 @@ public: }; template<> -class complex<double> +class _LIBCPP_VISIBLE complex<double> { double __re_; double __im_; @@ -430,7 +430,7 @@ public: }; template<> -class complex<long double> +class _LIBCPP_VISIBLE complex<long double> { long double __re_; long double __im_; @@ -781,20 +781,6 @@ operator!=(const _Tp& __x, const complex<_Tp>& __y) return !(__x == __y); } -/* - Move to <istream> - -template<class T, class charT, class traits> -basic_istream<charT, traits>& -operator>>(basic_istream<charT, traits>&, complex<T>&); - - Move to <ostream> - -template<class T, class charT, class traits> -basic_ostream<charT, traits>& -operator<<(basic_ostream<charT, traits>&, const complex<T>&); -*/ - // 26.3.7 values: // real |

