Article View: comp.std.c++
Article #1849Re: Equivalence of A and A<>
From: erik jensen
Date: Fri, 25 Aug 1995 20:03
Date: Fri, 25 Aug 1995 20:03
17 lines
1202 bytes
1202 bytes
: >You can't have a function and a variable : >with the same name anyway. The reason for not allowing function calls : >without () is (IMHO it's a shame) that you couldn't differentiate : >between the function and its address (since function's name without () : >means its address). : >Or am I missing something? : No; it's been a long day. :) Thanks. Of course, the address of a function could be written &func. [ Of course, that would break C compatibility. -sdc, moderator ] [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<41laa0$pn4@engnews2.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamageShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews2.Eng.Sun.COM!taumet!clamage From: jensen@nora.gih.no (erik jensen) Newsgroups: comp.std.c++ Subject: Re: Equivalence of A and A<> Date: 25 Aug 1995 20:03:12 GMT Organization: ? Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <41laa0$pn4@engnews2.Eng.Sun.COM> NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text X-Nntp-Posting-Host: nora.gih.no X-Newsreader: TIN [version 1.2 PL2] Content-Length: 462 X-Lines: 13 Originator: clamage@taumet