metz@iam.unibe.ch (Igor Metz) (08/03/89)
g++ 1.35.1- will not issue an error message when a value is assigned to
a const function parameter (cfront 1.2 will!):
void foo (const int &i) { i = 0; }
void main()
{ int i = 1;
foo(i);
}
Is there a fix for this?
Igor Metz X400: metz@iam.unibe.ch
Institut fuer Informatik ARPA: metz%iam.unibe.ch@relay.cs.net
und angewandte Mathematik UUCP: ..!uunet!mcvax!iam.unibe.ch!metz
Universitaet Bern
Switzerland Phone: (+41) 31 65 49 90