Subject: Re: standards/5959: c++ language specification error or compiler
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Martin Husemann <>
List: netbsd-bugs
Date: 08/13/1998 17:44:46
> Or are assignments lvalues in C++?  I would certainly hope not.

"It depends".
They are what you define your "=" operator to be. The usual way
is like this:

	complex& operator=(const complex& rhs);

So here is where the reference comes from, which is then passed to your
function. I think the compiler generated default operator= has the same 
signature as above.