home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / std / cplus / 1942 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.1 KB  |  33 lines

  1. Newsgroups: comp.std.c++
  2. Path: sparky!uunet!titan!lpi!pkt
  3. From: pkt@lpi.liant.com (Scott Turner)
  4. Subject: Re: Argument matching
  5. Message-ID: <1992Dec31.170854.21696@lpi.liant.com>
  6. Sender: pkt@lpi (Scott Turner)
  7. Organization: Liant Software Corporation
  8. References:  <1992Dec31.053242.3376@ucc.su.OZ.AU>
  9. Date: Thu, 31 Dec 1992 17:08:54 GMT
  10. Lines: 21
  11.  
  12. In article <1992Dec31.053242.3376@ucc.su.OZ.AU>, maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  13. > Proposal: 
  14. > 1) for the purposes of computing the signature of a function,
  15. > the symbols 'const', 'volatile' and any trailing '&' are ignored.
  16.  
  17. > 2) As usually, attempting to define two functions with the same
  18. > signature results in a duplicate defintion.
  19.  
  20. The worst effect of this idea would be that
  21.  
  22.     void f(int&)
  23. and    void f(const int&)
  24.  
  25. could not be overloaded.  This is useful and I don't think bad design.
  26. --
  27. Prescott K. Turner, Jr.
  28. Liant Software Corp. (developers of LPI languages)
  29. 959 Concord St., Framingham, MA 01701 USA    (508) 872-8700
  30. UUCP: uunet!lpi!pkt                          Internet: pkt@lpi.liant.com
  31.  
  32.