This is the mail archive of the
libstdc++-prs@sources.redhat.com
mailing list for the libstdc++ project.
libstdc++/107: templated global operators in <iterator> conflict with rel_ops
- To: libstdc++-gnats at sourceware dot cygnus dot com
- Subject: libstdc++/107: templated global operators in <iterator> conflict with rel_ops
- From: richarda at ixla dot com dot au
- Date: 20 Nov 2000 01:31:48 -0000
- Reply-To: richarda at ixla dot com dot au
>Number: 107
>Category: libstdc++
>Synopsis: templated global operators in <iterator> conflict with rel_ops
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 19 17:37:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Richard Andrews
>Release: unknown-1.0
>Organization:
>Environment:
ALL
>Description:
stl_iterator.h defines templated global operators.
These conflict with the same operators defined in
std::rel_ops (stl_relops.h)
Logical errors in several operators eg. operator>()
and operator<=().
>How-To-Repeat:
>Fix:
remove templated global operators.
Use rel_ops where necessary.
The operators defined in <iterator> should _ALL_ be members
not global.
>Release-Note:
>Audit-Trail:
>Unformatted: