🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Argument matching

#1410
From: Donald W. Rouse II
Date: Wed, 06 Jan 1993 19:26
9 lines
844 bytes
In article <1993Jan1.161813.1592@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
>[...]  I would argue it is better style to have
>two functions with different names:
>
>	func_f(const int&); // proper function
>	proc_f(int&);  // procedure--warning side effects!
>

But you can't do this with (i.e., rename) constructors.
Technical Details
Message-ID: <1993Jan6.192651.20972@cci632.cci.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!swrinde!gatech!udel!rochester!rit!cci632!dwr
References: <1992Dec31.053242.3376@ucc.su.OZ.AU> <1992Dec31.170854.21696@lpi.liant.com> <1993Jan1.161813.1592@ucc.su.OZ.AU>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!swrinde!gatech!udel!rochester!rit!cci632!dwr
From: dwr@cci632.cci.com (Donald W. Rouse II)
Subject: Re: Argument matching
Message-ID: <1993Jan6.192651.20972@cci632.cci.com>
Organization: [Computer Consoles, Inc., Rochester, NY
References: <1992Dec31.053242.3376@ucc.su.OZ.AU> <1992Dec31.170854.21696@lpi.liant.com> <1993Jan1.161813.1592@ucc.su.OZ.AU>
Date: Wed, 6 Jan 1993 19:26:51 GMT
Lines: 9