🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1730

Re: STL operators != > <= >=

#1730
From: Joe Buck
Date: Wed, 16 Aug 1995 17:19
20 lines
1418 bytes
Distribution:
maxtal@Physics.usyd.edu.au (John Max Skaller) writes:
>	The STL definitions were in fact quite wrong and
>completely unnacceptable until overloading of function templates by
>partial specialisation was introduced into the C++ language.
>
>	Now the definitions in STL remain wrong, but they are
>only defaults which can be overriden.

Not true; you can't change the return type (so that, for example,
< on two arrays of reals returns an array of bools as in APL).
-- 
-- Joe Buck 	<jbuck@synopsys.com>	(not speaking for Synopsys, Inc)
Anagrams for "information superhighway":	Enormous hairy pig with fan
						A rough whimper of insanity

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <MATT.95Aug16101930@physics2.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
References: <3vpmv5$4t7@mujibur.inmind.com> <3vutg6$713@mujibur.inmind.com> <408o8u$c0p@hermes.synopsys.com> <MATT.95Aug14092229@physics10.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt
From: jbuck@Synopsys.COM (Joe Buck)
Newsgroups: comp.std.c++
Subject: Re: STL operators != > <= >=
Date: 16 Aug 1995 17:19:30 GMT
Organization: Synopsys Inc., Mountain View, CA 94043-4033
Approved: matt@physics2.Berkeley.EDU (Matt Austern)
Message-ID: <MATT.95Aug16101930@physics2.Berkeley.EDU>
References: <3vpmv5$4t7@mujibur.inmind.com> <3vutg6$713@mujibur.inmind.com> <408o8u$c0p@hermes.synopsys.com> <MATT.95Aug14092229@physics10.berkeley.edu>
NNTP-Posting-Host: physics2.berkeley.edu