Primary template complex<T>
| | |
| (1) | |
complex& operator+=( const T& other );
| (until C++20) |
constexpr complex& operator+=( const T& other );
| (since C++20) |
| (2) | |
complex& operator-=( const T& other );
| (until C++20) |
constexpr complex& operator-=( const T& other );
| (since C++20) |
| (3) | |
complex& operator*=( const T& other );
| (until C++20) |
constexpr complex& operator*=( const T& other );
| (since C++20) |
| (4) | |
complex& operator/=( const T& other );
| (until C++20) |
constexpr complex& operator/=( const T& other );
| (since C++20) |
Specialization complex<float>
| | |
| (1) | |
complex& operator+=( float other );
| (until C++20) |
constexpr complex& operator+=( float other );
| (since C++20) |
| (2) | |
complex& operator-=( float other );
| (until C++20) |
constexpr complex& operator-=( float other );
| (since C++20) |
| (3) | |
complex& operator*=( float other );
| (until C++20) |
constexpr complex& operator*=( float other );
| (since C++20) |
| (4) | |
complex& operator/=( float other );
| (until C++20) |
constexpr complex& operator/=( float other );
| (since C++20) |
Specialization complex<double>
| | |
| (1) | |
complex& operator+=( double other );
| (until C++20) |
constexpr complex& operator+=( double other );
| (since C++20) |
| (2) | |
complex& operator-=( double other );
| (until C++20) |
constexpr complex& operator-=( double other );
| (since C++20) |
| (3) | |
complex& operator*=( double other );
| (until C++20) |
constexpr complex& operator*=( double other );
| (since C++20) |
| (4) | |
complex& operator/=( double other );
| (until C++20) |
constexpr complex& operator/=( double other );
| (since C++20) |
Specialization complex<long double>
| | |
| (1) | |
complex& operator+=( long double other );
| (until C++20) |
constexpr complex& operator+=( long double other );
| (since C++20) |
| (2) | |
complex& operator-=( long double other );
| (until C++20) |
constexpr complex& operator-=( long double other );
| (since C++20) |
| (3) | |
complex& operator*=( long double other );
| (until C++20) |
constexpr complex& operator*=( long double other );
| (since C++20) |
| (4) | |
complex& operator/=( long double other );
| (until C++20) |
constexpr complex& operator/=( long double other );
| (since C++20) |
All specializations | | |
| (5) | |
template<class X>
complex& operator+=( const std::complex<X>& other );
| (until C++20) |
template<class X>
constexpr complex& operator+=( const std::complex<X>& other );
| (since C++20) |
| (6) | |
template<class X>
complex& operator-=( const std::complex<X>& other );
| (until C++20) |
template<class X>
constexpr complex& operator-=( const std::complex<X>& other );
| (since C++20) |
| (7) | |
template<class X>
complex& operator*=( const std::complex<X>& other );
| (until C++20) |
template<class X>
constexpr complex& operator*=( const std::complex<X>& other );
| (since C++20) |
| (8) | |
template<class X>
complex& operator/=( const std::complex<X>& other );
| (until C++20) |
template<class X>
constexpr complex& operator/=( const std::complex<X>& other );
| (since C++20) |