From a336f5e645ef08f5400ce4eaaa910b708d9935a8 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 19 May 2012 07:14:17 +0000 Subject: [PATCH] Revert my _LIBCPP_INLINE_VISIBILITY changes, r157097 and r157107 llvm-svn: 157108 --- libcxx/include/valarray | 351 ++++++++++++++++++------------------------------ 1 file changed, 129 insertions(+), 222 deletions(-) diff --git a/libcxx/include/valarray b/libcxx/include/valarray index 72e9cae..3c0422a 100644 --- a/libcxx/include/valarray +++ b/libcxx/include/valarray @@ -794,43 +794,38 @@ private: public: // construct/destroy: - _LIBCPP_INLINE_VISIBILITY valarray() : __begin_(0), __end_(0) {} - _LIBCPP_INLINE_VISIBILITY explicit valarray(size_t __n); - _LIBCPP_INLINE_VISIBILITY valarray(const value_type& __x, size_t __n); - _LIBCPP_INLINE_VISIBILITY valarray(const value_type* __p, size_t __n); - _LIBCPP_INLINE_VISIBILITY valarray(const valarray& __v); + _LIBCPP_INLINE_VISIBILITY + valarray() : __begin_(0), __end_(0) {} + explicit valarray(size_t __n); + valarray(const value_type& __x, size_t __n); + valarray(const value_type* __p, size_t __n); + valarray(const valarray& __v); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY valarray(valarray&& __v); + valarray(valarray&& __v); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS - _LIBCPP_INLINE_VISIBILITY valarray(initializer_list __il); + valarray(initializer_list __il); #endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS - _LIBCPP_INLINE_VISIBILITY valarray(const slice_array& __sa); - _LIBCPP_INLINE_VISIBILITY valarray(const gslice_array& __ga); - _LIBCPP_INLINE_VISIBILITY valarray(const mask_array& __ma); - _LIBCPP_INLINE_VISIBILITY valarray(const indirect_array& __ia); - _LIBCPP_INLINE_VISIBILITY ~valarray(); + valarray(const slice_array& __sa); + valarray(const gslice_array& __ga); + valarray(const mask_array& __ma); + valarray(const indirect_array& __ia); + ~valarray(); // assignment: - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const valarray& __v); + valarray& operator=(const valarray& __v); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY valarray& operator=(valarray&& __v); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS - _LIBCPP_INLINE_VISIBILITY valarray& operator=(initializer_list); + valarray& operator=(initializer_list); #endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const value_type& __x); - _LIBCPP_INLINE_VISIBILITY + valarray& operator=(const value_type& __x); valarray& operator=(const slice_array& __sa); - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const gslice_array& __ga); - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const mask_array& __ma); - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const indirect_array& __ia); template - _LIBCPP_INLINE_VISIBILITY valarray& operator=(const __val_expr<_ValExpr>& __v); // element access: @@ -841,71 +836,46 @@ public: value_type& operator[](size_t __i) {return __begin_[__i];} // subset operations: - _LIBCPP_INLINE_VISIBILITY __val_expr<__slice_expr > operator[](slice __s) const; - _LIBCPP_INLINE_VISIBILITY slice_array operator[](slice __s); - _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr > operator[](const gslice& __gs) const; - _LIBCPP_INLINE_VISIBILITY gslice_array operator[](const gslice& __gs); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr > operator[](gslice&& __gs) const; - _LIBCPP_INLINE_VISIBILITY gslice_array operator[](gslice&& __gs); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY __val_expr<__mask_expr > operator[](const valarray& __vb) const; - _LIBCPP_INLINE_VISIBILITY mask_array operator[](const valarray& __vb); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY __val_expr<__mask_expr > operator[](valarray&& __vb) const; - _LIBCPP_INLINE_VISIBILITY mask_array operator[](valarray&& __vb); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr > operator[](const valarray& __vs) const; - _LIBCPP_INLINE_VISIBILITY indirect_array operator[](const valarray& __vs); #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES - _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr > operator[](valarray&& __vs) const; - _LIBCPP_INLINE_VISIBILITY indirect_array operator[](valarray&& __vs); #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES // unary operators: - _LIBCPP_INLINE_VISIBILITY valarray operator+() const; - _LIBCPP_INLINE_VISIBILITY valarray operator-() const; - _LIBCPP_INLINE_VISIBILITY valarray operator~() const; - _LIBCPP_INLINE_VISIBILITY valarray operator!() const; + valarray operator+() const; + valarray operator-() const; + valarray operator~() const; + valarray operator!() const; // computed assignment: - _LIBCPP_INLINE_VISIBILITY valarray& operator*= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator/= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator%= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator+= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator-= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator^= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator&= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator|= (const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator<<=(const value_type& __x); - _LIBCPP_INLINE_VISIBILITY valarray& operator>>=(const value_type& __x); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -914,7 +884,6 @@ public: operator*= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -923,7 +892,6 @@ public: operator/= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -932,7 +900,6 @@ public: operator%= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -941,7 +908,6 @@ public: operator+= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -950,7 +916,6 @@ public: operator-= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -959,7 +924,6 @@ public: operator^= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -968,7 +932,6 @@ public: operator|= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -977,7 +940,6 @@ public: operator&= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -986,7 +948,6 @@ public: operator<<= (const _Expr& __v); template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -995,20 +956,18 @@ public: operator>>= (const _Expr& __v); // member functions: - _LIBCPP_INLINE_VISIBILITY void swap(valarray& __v); + void swap(valarray& __v); _LIBCPP_INLINE_VISIBILITY size_t size() const {return static_cast(__end_ - __begin_);} - _LIBCPP_INLINE_VISIBILITY value_type sum() const; - _LIBCPP_INLINE_VISIBILITY value_type min() const; - _LIBCPP_INLINE_VISIBILITY value_type max() const; + value_type sum() const; + value_type min() const; + value_type max() const; - _LIBCPP_INLINE_VISIBILITY valarray shift (int __i) const; - _LIBCPP_INLINE_VISIBILITY valarray cshift(int __i) const; - _LIBCPP_INLINE_VISIBILITY + valarray shift (int __i) const; + valarray cshift(int __i) const; valarray apply(value_type __f(value_type)) const; - _LIBCPP_INLINE_VISIBILITY valarray apply(value_type __f(const value_type&)) const; void resize(size_t __n, value_type __x = value_type()); @@ -1140,7 +1099,6 @@ private: public: template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1149,7 +1107,6 @@ public: operator=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1158,7 +1115,6 @@ public: operator*=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1167,7 +1123,6 @@ public: operator/=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1176,7 +1131,6 @@ public: operator%=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1185,7 +1139,6 @@ public: operator+=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1194,7 +1147,6 @@ public: operator-=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1203,7 +1155,6 @@ public: operator^=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1212,7 +1163,6 @@ public: operator&=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1221,7 +1171,6 @@ public: operator|=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1230,7 +1179,6 @@ public: operator<<=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1238,10 +1186,8 @@ public: >::type operator>>=(const _Expr& __v) const; - _LIBCPP_INLINE_VISIBILITY const slice_array& operator=(const slice_array& __sa) const; - _LIBCPP_INLINE_VISIBILITY void operator=(const value_type& __x) const; private: @@ -1257,7 +1203,7 @@ private: }; template -inline +inline _LIBCPP_INLINE_VISIBILITY const slice_array<_Tp>& slice_array<_Tp>::operator=(const slice_array& __sa) const { @@ -1269,7 +1215,7 @@ slice_array<_Tp>::operator=(const slice_array& __sa) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1284,7 +1230,7 @@ slice_array<_Tp>::operator=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1299,7 +1245,7 @@ slice_array<_Tp>::operator*=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1314,7 +1260,7 @@ slice_array<_Tp>::operator/=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1329,7 +1275,7 @@ slice_array<_Tp>::operator%=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1344,7 +1290,7 @@ slice_array<_Tp>::operator+=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1359,7 +1305,7 @@ slice_array<_Tp>::operator-=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1374,7 +1320,7 @@ slice_array<_Tp>::operator^=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1389,7 +1335,7 @@ slice_array<_Tp>::operator&=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1404,7 +1350,7 @@ slice_array<_Tp>::operator|=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1419,7 +1365,7 @@ slice_array<_Tp>::operator<<=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1433,7 +1379,7 @@ slice_array<_Tp>::operator>>=(const _Expr& __v) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY void slice_array<_Tp>::operator=(const value_type& __x) const { @@ -1453,7 +1399,7 @@ class _LIBCPP_VISIBLE gslice public: _LIBCPP_INLINE_VISIBILITY gslice() {} - + _LIBCPP_INLINE_VISIBILITY gslice(size_t __start, const valarray& __size, const valarray& __stride) @@ -1522,7 +1468,6 @@ private: public: template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1531,7 +1476,6 @@ public: operator=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1540,7 +1484,6 @@ public: operator*=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1549,7 +1492,6 @@ public: operator/=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1558,7 +1500,6 @@ public: operator%=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1567,7 +1508,6 @@ public: operator+=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1576,7 +1516,6 @@ public: operator-=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1585,7 +1524,6 @@ public: operator^=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1594,7 +1532,6 @@ public: operator&=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1603,7 +1540,6 @@ public: operator|=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1612,7 +1548,6 @@ public: operator<<=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1620,10 +1555,8 @@ public: >::type operator>>=(const _Expr& __v) const; - _LIBCPP_INLINE_VISIBILITY const gslice_array& operator=(const gslice_array& __ga) const; - _LIBCPP_INLINE_VISIBILITY void operator=(const value_type& __x) const; // gslice_array(const gslice_array&) = default; @@ -1653,7 +1586,7 @@ private: template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1669,7 +1602,7 @@ gslice_array<_Tp>::operator=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1685,7 +1618,7 @@ gslice_array<_Tp>::operator*=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1701,7 +1634,7 @@ gslice_array<_Tp>::operator/=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1717,7 +1650,7 @@ gslice_array<_Tp>::operator%=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1733,7 +1666,7 @@ gslice_array<_Tp>::operator+=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1749,7 +1682,7 @@ gslice_array<_Tp>::operator-=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1765,7 +1698,7 @@ gslice_array<_Tp>::operator^=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1781,7 +1714,7 @@ gslice_array<_Tp>::operator&=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1797,7 +1730,7 @@ gslice_array<_Tp>::operator|=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1813,7 +1746,7 @@ gslice_array<_Tp>::operator<<=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1828,7 +1761,7 @@ gslice_array<_Tp>::operator>>=(const _Expr& __v) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY const gslice_array<_Tp>& gslice_array<_Tp>::operator=(const gslice_array& __ga) const { @@ -1841,7 +1774,7 @@ gslice_array<_Tp>::operator=(const gslice_array& __ga) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY void gslice_array<_Tp>::operator=(const value_type& __x) const { @@ -1864,7 +1797,6 @@ private: public: template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1873,7 +1805,6 @@ public: operator=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1882,7 +1813,6 @@ public: operator*=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1891,7 +1821,6 @@ public: operator/=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1900,7 +1829,6 @@ public: operator%=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1909,7 +1837,6 @@ public: operator+=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1918,7 +1845,6 @@ public: operator-=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1927,7 +1853,6 @@ public: operator^=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1936,7 +1861,6 @@ public: operator&=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1945,7 +1869,6 @@ public: operator|=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1954,7 +1877,6 @@ public: operator<<=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -1962,10 +1884,8 @@ public: >::type operator>>=(const _Expr& __v) const; - _LIBCPP_INLINE_VISIBILITY const mask_array& operator=(const mask_array& __ma) const; - _LIBCPP_INLINE_VISIBILITY void operator=(const value_type& __x) const; // mask_array(const mask_array&) = default; @@ -1990,7 +1910,7 @@ private: template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2005,7 +1925,7 @@ mask_array<_Tp>::operator=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2020,7 +1940,7 @@ mask_array<_Tp>::operator*=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2035,7 +1955,7 @@ mask_array<_Tp>::operator/=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2050,7 +1970,7 @@ mask_array<_Tp>::operator%=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2065,7 +1985,7 @@ mask_array<_Tp>::operator+=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2080,7 +2000,7 @@ mask_array<_Tp>::operator-=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2095,7 +2015,7 @@ mask_array<_Tp>::operator^=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2110,7 +2030,7 @@ mask_array<_Tp>::operator&=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2125,7 +2045,7 @@ mask_array<_Tp>::operator|=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2140,7 +2060,7 @@ mask_array<_Tp>::operator<<=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2154,7 +2074,7 @@ mask_array<_Tp>::operator>>=(const _Expr& __v) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY const mask_array<_Tp>& mask_array<_Tp>::operator=(const mask_array& __ma) const { @@ -2164,7 +2084,7 @@ mask_array<_Tp>::operator=(const mask_array& __ma) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY void mask_array<_Tp>::operator=(const value_type& __x) const { @@ -2221,7 +2141,6 @@ private: public: template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2230,7 +2149,6 @@ public: operator=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2239,7 +2157,6 @@ public: operator*=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2248,7 +2165,6 @@ public: operator/=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2257,7 +2173,6 @@ public: operator%=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2266,7 +2181,6 @@ public: operator+=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2275,7 +2189,6 @@ public: operator-=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2284,7 +2197,6 @@ public: operator^=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2293,7 +2205,6 @@ public: operator&=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2302,7 +2213,6 @@ public: operator|=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2311,7 +2221,6 @@ public: operator<<=(const _Expr& __v) const; template - _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2319,10 +2228,8 @@ public: >::type operator>>=(const _Expr& __v) const; - _LIBCPP_INLINE_VISIBILITY const indirect_array& operator=(const indirect_array& __ia) const; - _LIBCPP_INLINE_VISIBILITY void operator=(const value_type& __x) const; // indirect_array(const indirect_array&) = default; @@ -2352,7 +2259,7 @@ private: template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2367,7 +2274,7 @@ indirect_array<_Tp>::operator=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2382,7 +2289,7 @@ indirect_array<_Tp>::operator*=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2397,7 +2304,7 @@ indirect_array<_Tp>::operator/=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2412,7 +2319,7 @@ indirect_array<_Tp>::operator%=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2427,7 +2334,7 @@ indirect_array<_Tp>::operator+=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2442,7 +2349,7 @@ indirect_array<_Tp>::operator-=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2457,7 +2364,7 @@ indirect_array<_Tp>::operator^=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2472,7 +2379,7 @@ indirect_array<_Tp>::operator&=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2487,7 +2394,7 @@ indirect_array<_Tp>::operator|=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2502,7 +2409,7 @@ indirect_array<_Tp>::operator<<=(const _Expr& __v) const template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -2516,7 +2423,7 @@ indirect_array<_Tp>::operator>>=(const _Expr& __v) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY const indirect_array<_Tp>& indirect_array<_Tp>::operator=(const indirect_array& __ia) const { @@ -2529,7 +2436,7 @@ indirect_array<_Tp>::operator=(const indirect_array& __ia) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY void indirect_array<_Tp>::operator=(const value_type& __x) const { @@ -2731,7 +2638,7 @@ __val_expr<_ValExpr>::operator valarray() const // valarray template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>::valarray(size_t __n) : __begin_(0), __end_(0) @@ -2740,7 +2647,7 @@ valarray<_Tp>::valarray(size_t __n) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>::valarray(const value_type& __x, size_t __n) : __begin_(0), __end_(0) @@ -2801,7 +2708,7 @@ valarray<_Tp>::valarray(const valarray& __v) #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>::valarray(valarray&& __v) : __begin_(__v.__begin_), __end_(__v.__end_) @@ -2955,7 +2862,7 @@ valarray<_Tp>::valarray(const indirect_array& __ia) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>::~valarray() { resize(0); @@ -2977,7 +2884,7 @@ valarray<_Tp>::operator=(const valarray& __v) #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(valarray&& __v) { @@ -2994,7 +2901,7 @@ valarray<_Tp>::operator=(valarray&& __v) #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(initializer_list __il) { @@ -3007,7 +2914,7 @@ valarray<_Tp>::operator=(initializer_list __il) #endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const value_type& __x) { @@ -3016,7 +2923,7 @@ valarray<_Tp>::operator=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const slice_array& __sa) { @@ -3028,7 +2935,7 @@ valarray<_Tp>::operator=(const slice_array& __sa) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const gslice_array& __ga) { @@ -3042,7 +2949,7 @@ valarray<_Tp>::operator=(const gslice_array& __ga) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const mask_array& __ma) { @@ -3056,7 +2963,7 @@ valarray<_Tp>::operator=(const mask_array& __ma) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const indirect_array& __ia) { @@ -3071,7 +2978,7 @@ valarray<_Tp>::operator=(const indirect_array& __ia) template template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator=(const __val_expr<_ValExpr>& __v) { @@ -3085,7 +2992,7 @@ valarray<_Tp>::operator=(const __val_expr<_ValExpr>& __v) } template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__slice_expr&> > valarray<_Tp>::operator[](slice __s) const { @@ -3093,7 +3000,7 @@ valarray<_Tp>::operator[](slice __s) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY slice_array<_Tp> valarray<_Tp>::operator[](slice __s) { @@ -3101,7 +3008,7 @@ valarray<_Tp>::operator[](slice __s) } template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr&> > valarray<_Tp>::operator[](const gslice& __gs) const { @@ -3109,7 +3016,7 @@ valarray<_Tp>::operator[](const gslice& __gs) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY gslice_array<_Tp> valarray<_Tp>::operator[](const gslice& __gs) { @@ -3119,7 +3026,7 @@ valarray<_Tp>::operator[](const gslice& __gs) #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr&> > valarray<_Tp>::operator[](gslice&& __gs) const { @@ -3127,7 +3034,7 @@ valarray<_Tp>::operator[](gslice&& __gs) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY gslice_array<_Tp> valarray<_Tp>::operator[](gslice&& __gs) { @@ -3137,7 +3044,7 @@ valarray<_Tp>::operator[](gslice&& __gs) #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__mask_expr&> > valarray<_Tp>::operator[](const valarray& __vb) const { @@ -3145,7 +3052,7 @@ valarray<_Tp>::operator[](const valarray& __vb) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY mask_array<_Tp> valarray<_Tp>::operator[](const valarray& __vb) { @@ -3155,7 +3062,7 @@ valarray<_Tp>::operator[](const valarray& __vb) #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__mask_expr&> > valarray<_Tp>::operator[](valarray&& __vb) const { @@ -3163,7 +3070,7 @@ valarray<_Tp>::operator[](valarray&& __vb) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY mask_array<_Tp> valarray<_Tp>::operator[](valarray&& __vb) { @@ -3173,7 +3080,7 @@ valarray<_Tp>::operator[](valarray&& __vb) #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr&> > valarray<_Tp>::operator[](const valarray& __vs) const { @@ -3181,7 +3088,7 @@ valarray<_Tp>::operator[](const valarray& __vs) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY indirect_array<_Tp> valarray<_Tp>::operator[](const valarray& __vs) { @@ -3191,7 +3098,7 @@ valarray<_Tp>::operator[](const valarray& __vs) #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES template -inline +inline _LIBCPP_INLINE_VISIBILITY __val_expr<__indirect_expr&> > valarray<_Tp>::operator[](valarray&& __vs) const { @@ -3199,7 +3106,7 @@ valarray<_Tp>::operator[](valarray&& __vs) const } template -inline +inline _LIBCPP_INLINE_VISIBILITY indirect_array<_Tp> valarray<_Tp>::operator[](valarray&& __vs) { @@ -3277,7 +3184,7 @@ valarray<_Tp>::operator!() const } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator*=(const value_type& __x) { @@ -3287,7 +3194,7 @@ valarray<_Tp>::operator*=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator/=(const value_type& __x) { @@ -3297,7 +3204,7 @@ valarray<_Tp>::operator/=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator%=(const value_type& __x) { @@ -3307,7 +3214,7 @@ valarray<_Tp>::operator%=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator+=(const value_type& __x) { @@ -3317,7 +3224,7 @@ valarray<_Tp>::operator+=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator-=(const value_type& __x) { @@ -3327,7 +3234,7 @@ valarray<_Tp>::operator-=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator^=(const value_type& __x) { @@ -3337,7 +3244,7 @@ valarray<_Tp>::operator^=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator&=(const value_type& __x) { @@ -3347,7 +3254,7 @@ valarray<_Tp>::operator&=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator|=(const value_type& __x) { @@ -3357,7 +3264,7 @@ valarray<_Tp>::operator|=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator<<=(const value_type& __x) { @@ -3367,7 +3274,7 @@ valarray<_Tp>::operator<<=(const value_type& __x) } template -inline +inline _LIBCPP_INLINE_VISIBILITY valarray<_Tp>& valarray<_Tp>::operator>>=(const value_type& __x) { @@ -3378,7 +3285,7 @@ valarray<_Tp>::operator>>=(const value_type& __x) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3394,7 +3301,7 @@ valarray<_Tp>::operator*=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3410,7 +3317,7 @@ valarray<_Tp>::operator/=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3426,7 +3333,7 @@ valarray<_Tp>::operator%=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3442,7 +3349,7 @@ valarray<_Tp>::operator+=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3458,7 +3365,7 @@ valarray<_Tp>::operator-=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3474,7 +3381,7 @@ valarray<_Tp>::operator^=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3490,7 +3397,7 @@ valarray<_Tp>::operator|=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3506,7 +3413,7 @@ valarray<_Tp>::operator&=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3522,7 +3429,7 @@ valarray<_Tp>::operator<<=(const _Expr& __v) template template -inline +inline _LIBCPP_INLINE_VISIBILITY typename enable_if < __is_val_expr<_Expr>::value, @@ -3537,7 +3444,7 @@ valarray<_Tp>::operator>>=(const _Expr& __v) } template -inline +inline _LIBCPP_INLINE_VISIBILITY void valarray<_Tp>::swap(valarray& __v) { @@ -3546,7 +3453,7 @@ valarray<_Tp>::swap(valarray& __v) } template -inline +inline _LIBCPP_INLINE_VISIBILITY _Tp valarray<_Tp>::sum() const { @@ -3560,7 +3467,7 @@ valarray<_Tp>::sum() const } template -inline +inline _LIBCPP_INLINE_VISIBILITY _Tp valarray<_Tp>::min() const { @@ -3570,7 +3477,7 @@ valarray<_Tp>::min() const } template -inline +inline _LIBCPP_INLINE_VISIBILITY _Tp valarray<_Tp>::max() const { -- 2.7.4