This is the mail archive of the libstdc++-prs@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libstdc++/107: templated global operators in <iterator> conflict with rel_ops



>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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]