🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Give operator. a chance

#3312
From: Jerry Coffin
Date: Fri, 09 Feb 1996 00:18
14 lines
1277 bytes
claus@faerber.muc.de (Claus A. Faerber) wrote:

>IMO there's a better way than 'operator.()':

>Simply say: 'If a class member identifier is not found  
>within an object, all possible cast operators are scanned in  
>order to find a conversion to an object of a class  
>containing a member with this identifier.'

Which would be chosen if two or more possibilities would work?
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
Technical Details
Message-ID: <4fe3n4$ii4@natasha.rmii.com>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
References: <62HLdPo3cDB@faerber.muc.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: jcoffin@rmii.com (Jerry Coffin)
Newsgroups: comp.std.c++
Subject: Re: Give operator. a chance
Date: 08 Feb 1996 16:18:45 PST
Organization: TAEUS
Approved: austern@isolde.mti.sgi.com
Message-ID: <4fe3n4$ii4@natasha.rmii.com>
References: <62HLdPo3cDB@faerber.muc.de>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Fri, 09 Feb 1996 01:27:35 GMT
X-Newsreader: Forte Free Agent 1.0.82
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMRqS80y4NqrwXLNJAQHs8AIArVsShtBvRYlQGvKPyr443qJ6anYr35pa
 QH0eMudiLA7L0Yjfbo3AjOJcd9/ts1NyA6IsOV+mDKjktOOkBTNNSw==
 =fVEx
Originator: austern@isolde.mti.sgi.com