complex unary + and -
                
                
                
                                        
                    From cppreference.com
                    
                                        
                    
                    
                                                            
                    
[edit] Syntax
- template<class T> complex<T> operator+(const complex<T>& lhs);
 - template<class T> complex<T> operator-(const complex<T>& lhs);
 
[edit] Return values
-  complex<T>(lhs)
 -  complex<T>(-lhs.real(),-lhs.imag())