Article View: comp.std.c++
Article #2381Re: relaxing const match on function implementation
From: Alan Griffiths
Date: Wed, 01 Nov 1995 19:04
Date: Wed, 01 Nov 1995 19:04
32 lines
1694 bytes
1694 bytes
In article <46kdsh$b1v@oznet07.ozemail.com.au>
maxtal@suphys.physics.su.oz.au "John Max Skaller" writes:
> You are correct. This IS the case in ISO C. It also IS
> the case in C++ now. In particular the declarations:
>
> void f(int);
> void f(int const);
> void f(const int);
>
> declare the same function.
>
> I voted in favour of the change to the ARM to bring
> C++ into line with ISO C so I guess I think it
> is a good idea. :-)
Sorry, it didn't compile (3 different compilers) and when I checked ARM...
I know I should look in the draft standard (but the copy to hand is in
Acrobat and slow to use).
--
Alan Griffiths | Also editor of: The ISDF Newsletter
Senior Systems Consultant, | (An Association of C and C++ Users publication)
CCN Group Limited. | (ISDF editor : isdf@octopull.demon.co.uk)
(agriffiths@ma.ccngroup.com) | (For ACCU see : http://bach.cis.temple.edu/accu)
---
[ 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:
<815232056snz@ma.ccngroup.com>Path:
arc1-ca.pugleaf.net!128.32.155.1!mattReferences:
<814452107snz@ma.ccngroup.com> <46kdsh$b1v@oznet07.ozemail.com.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt From: Alan Griffiths <aGriffiths@ma.ccngroup.com> Newsgroups: comp.std.c++ Subject: Re: relaxing const match on function implementation Date: 01 Nov 1995 19:04:24 GMT Organization: CCN Market Analysis Approved: matt@physics10.Berkeley.EDU (Matt Austern) Message-ID: <815232056snz@ma.ccngroup.com> References: <814452107snz@ma.ccngroup.com> <46kdsh$b1v@oznet07.ozemail.com.au> Reply-To: aGriffiths@ma.ccngroup.com NNTP-Posting-Host: physics10.berkeley.edu