shadowed rel_ops operators

Phil Edwards
Sun Jan 21 21:44:00 GMT 2001

On Sun, Jan 21, 2001 at 11:24:41AM -0800, Nathan Myers wrote:
> The right thing to do is to put a prominent comment in the rel_ops
> header warning about it.

The only people reading comments in the headers are *us*.  If we're going to
warn about this, we should do so more "proactively."  We can't use #warning;
stl_relops.h gets included by too many things... hm.

*sigh*  We need a __builtin_warning that acts like #warning but only takes
effect when the user actually uses it.  :-)

> Probably an FAQ item would be good too.

I'll try and work something up.


pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

More information about the Libstdc++ mailing list