Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::indirect_array<T>::operator+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>=

      From cppreference.com
      <cpp‎ |numeric‎ |valarray‎ |indirect array

      [edit template]
       
       
       
      std::valarray
      Member functions
      Non-member functions
      Helper classes
      Deduction guides(C++17)
       
      std::indirect_array
      Member functions
      indirect_array::operator+=indirect_array::operator-=indirect_array::operator*=indirect_array::operator/=indirect_array::operator%=indirect_array::operator&=indirect_array::operator|=indirect_array::operator^=indirect_array::operator<<=indirect_array::operator>>=
       
      void operator+=(conststd::valarray<T>& other)const;
      void operator-=(conststd::valarray<T>& other)const;
      void operator*=(conststd::valarray<T>& other)const;
      void operator/=(conststd::valarray<T>& other)const;
      void operator%=(conststd::valarray<T>& other)const;
      void operator&=(conststd::valarray<T>& other)const;
      void operator|=(conststd::valarray<T>& other)const;
      void operator^=(conststd::valarray<T>& other)const;
      void operator<<=(conststd::valarray<T>& other)const;
      void operator>>=(conststd::valarray<T>& other)const;

      Applies the corresponding operation to the referred elements and the elements ofother.

      Contents

      [edit]Parameters

      other - argument array to retrieve the values from

      [edit]Return value

      (none)

      [edit]Exceptions

      May throw implementation-defined exceptions.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/valarray/indirect_array/operator_arith&oldid=120730"

      [8]ページ先頭

      ©2009-2025 Movatter.jp