Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

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

      [edit template]
       
       
       
      std::valarray
      Member functions
      Non-member functions
      Helper classes
      Deduction guides(C++17)
       
      std::gslice_array
      Member functions
      gslice_array::operator+=gslice_array::operator-=gslice_array::operator*=gslice_array::operator/=gslice_array::operator%=gslice_array::operator&=gslice_array::operator|=gslice_array::operator^=gslice_array::operator<<=gslice_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/gslice_array/operator_arith&oldid=120731"

      [8]ページ先頭

      ©2009-2025 Movatter.jp