This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13542] the overload of < operator doesn't work for complex<double> when use stl sort
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jan 2004 06:44:20 -0000
- Subject: [Bug libstdc++/13542] the overload of < operator doesn't work for complex<double> when use stl sort
- References: <20040102043754.13542.tjiq@21cn.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at physics dot uc dot edu 2004-01-02 06:44 -------
Subject: Re: the overload of < operator doesn't work for complex<double> when use stl sort
On Jan 2, 2004, at 01:37, Jiqing Tang wrote:
> Thx a lot, it solves my problem,
>
> I just wonder if I use BCC32, it doesn't require me to declare the <
> operator in the std namespace, does that conform to the
> standard?
no, then BCC32 does not conform to the standard.
Thanks,
Andrew Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13542