home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c++
- Path: 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
-
- 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
-
-