void operator=(const valarray<T>&) const; const indirect_array& operator=(const indirect_array&) const;
int addr[] = {2, 3, 1, 4, 4}; valarray<size_t> indirect(addr, 5); valarray<double> a(0., 10), b(1., 5); a[indirect] = b;