Newsgroups: comp.lang.c++ Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: C++ default comparison operator Message-ID: <1988May24.170429.994@utzoo.uucp> Organization: U of Toronto Zoology References: <28535@cca.CCA.COM> Date: Tue, 24 May 88 17:04:29 GMT > Now that structure/class assignment is defined as (recursive) memberwise > assignment in the absense of assignment operators, I wonder if a similar > recursive memberwise definition of equality comparison is not in order. > What are the stylistic, semantic, and implementation-specific arguments > for and against such a feature? Here's one against: how do you compare unions? -- NASA is to spaceflight as | Henry Spencer @ U of Toronto Zoology the Post Office is to mail. | {ihnp4,decvax,uunet!mnetor}!utzoo!henry