std::real(std::complex)
From cppreference.com
                    
                                        
                    
                    
                                                            
                    |   Defined in header <complex>
   | 
||
|   template< class T >  T real( const complex<T>& z );  | 
||
Returns the real component of the complex number z, i.e. z.real().
[edit] Parameters
| z | - | complex value | 
[edit] Return value
the real component of z
[edit] See also
|    accesses the real part of the complex number  (public member function)  | |
|    accesses the imaginary part of the complex number  (public member function)  | |
|    returns the imaginary component   (function template)  | |