@@ -1311,9 +1311,9 @@ class const_subarray : public array_types<T, D, ElementPtr, Layout> {
13111311 using element_cref = typename std::iterator_traits<element_const_ptr>::reference;
13121312
13131313 private:
1314- using index_gen [[deprecated("here to fulfill MultiArray concept")]] = char *;
1315- using extent_gen [[deprecated("here to fulfill MultiArray concept")]] = void ;
1316- using extent_range [[deprecated("here to fulfill MultiArray concept")]] = void ;
1314+ using index_gen [[deprecated("here to fulfill backward-compatible MultiArray concept")]] = char *;
1315+ using extent_gen [[deprecated("here to fulfill backward-compatible MultiArray concept")]] = void ;
1316+ using extent_range [[deprecated("here to fulfill backward-compatible MultiArray concept")]] = void ;
13171317
13181318 // private:
13191319 using elements_iterator = elements_iterator_t <element_ptr, layout_type>;
@@ -2254,17 +2254,17 @@ class subarray : public const_subarray<T, D, ElementPtr, Layout> {
22542254 }
22552255 template <class It > BOOST_MULTI_HD constexpr auto assign (It first) && -> It { return assign (first); } // cppcheck-suppress duplInheritedMember ; to overwrite
22562256
2257- template <class TT = typename subarray::element>
2258- constexpr auto fill (TT const & value) & -> decltype(auto ) {
2259- return adl_fill_n (this ->begin (), this ->size (), value), *this ;
2260- }
2261- constexpr auto fill () & -> decltype(auto ) { return fill (typename subarray::element{}); }
2257+ // template<class TT = typename subarray::element>
2258+ // constexpr auto fill(TT const& value) & -> decltype(auto) {
2259+ // return adl_fill_n(this->begin(), this->size(), value), *this;
2260+ // }
2261+ // constexpr auto fill() & -> decltype(auto) { return fill(typename subarray::element{}); }
22622262
2263- template <class TT = typename subarray::element>
2264- [[deprecated]] constexpr auto fill (TT const & value) && -> decltype(auto ) { return std::move (this ->fill (value)); }
2265- [[deprecated]] constexpr auto fill () && -> decltype(auto ) {
2266- return std::move (*this ).fill (typename subarray::element{});
2267- }
2263+ // template<class TT = typename subarray::element>
2264+ // [[deprecated]] constexpr auto fill(TT const& value) && -> decltype(auto) { return std::move(this->fill(value)); }
2265+ // [[deprecated]] constexpr auto fill() && -> decltype(auto) {
2266+ // return std::move(*this).fill(typename subarray::element{});
2267+ // }
22682268
22692269 using const_subarray<T, D, ElementPtr, Layout>::strided;
22702270 // cppcheck-suppress-begin duplInheritedMember ; to overwrite
0 commit comments