std_complex.h (std::complex<>::real): Return a reference.
commit3b3bfc0eebfab8f33796490c5d0fa65cbc8c587f
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 11 Jan 2004 16:15:42 +0000 (11 16:15 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 11 Jan 2004 16:15:42 +0000 (11 16:15 +0000)
tree250fcb1b4de9fd2bba777ab99d9765ee5889ba1f
parent0bcf8261f4b9ef56378971c1745dd79024d44063
std_complex.h (std::complex<>::real): Return a reference.

        * include/std/std_complex.h (std::complex<>::real): Return a
        reference. Add non-const overload.
        (std::complex<>::real): Likewise.
        (std::real): Likewise.
        (std::imag): Likewise.
        (std::operator+): Tidy.
        (std::operator-): Likewise.
        (std::operator*): Likewise.
        (std::operator/): Likewise.
        (std::operator>>): Likewise.

From-SVN: r75680
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/std_complex.h