From: Warren Young Date: December 3 2008 9:46pm Subject: Re: Problem with Null string type List-Archive: http://lists.mysql.com/plusplus/8228 Message-Id: <4936FE4E.5030402@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Brad Hubbard wrote: > But I thought this; > > operator Type&() > { > if (is_null) > return data = Behavior::null_is(); > else > return data; > } > in null.h must be how you "safely" get the data member. Yes, you're right, that works. I was confused. The compiler is complaining about operator=(), not operator Type&(). Which one is line 74 in your excerpt? Can you cut it down some, ideally to just one line that shows the problem?