Article View: comp.std.c++
Article #1185Re: Argument matching
From: Scott Turner
Date: Thu, 31 Dec 1992 17:08
Date: Thu, 31 Dec 1992 17:08
20 lines
1108 bytes
1108 bytes
In article <1992Dec31.053242.3376@ucc.su.OZ.AU>, maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes: > Proposal: > > 1) for the purposes of computing the signature of a function, > the symbols 'const', 'volatile' and any trailing '&' are ignored. > 2) As usually, attempting to define two functions with the same > signature results in a duplicate defintion. The worst effect of this idea would be that void f(int&) and void f(const int&) could not be overloaded. This is useful and I don't think bad design. -- Prescott K. Turner, Jr. Liant Software Corp. (developers of LPI languages) 959 Concord St., Framingham, MA 01701 USA (508) 872-8700 UUCP: uunet!lpi!pkt Internet: pkt@lpi.liant.com
Technical Details
Message-ID:
<1992Dec31.170854.21696@lpi.liant.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!titan!lpi!pktReferences:
<1992Dec31.053242.3376@ucc.su.OZ.AU>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!sparky!uunet!titan!lpi!pkt From: pkt@lpi.liant.com (Scott Turner) Subject: Re: Argument matching Message-ID: <1992Dec31.170854.21696@lpi.liant.com> Sender: pkt@lpi (Scott Turner) Organization: Liant Software Corporation References: <1992Dec31.053242.3376@ucc.su.OZ.AU> Date: Thu, 31 Dec 1992 17:08:54 GMT Lines: 21