From: Warren Young Date: April 5 2005 12:14pm Subject: Re: Patch to fix compile error. List-Archive: http://lists.mysql.com/plusplus/4211 Message-Id: <42528131.8060501@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Kevin Regan wrote: > - template operator Type () {throw BadNullConversion();} > + template operator Type () {if (1) throw BadNullConversion();else return Type();} I rejected this once before, because it's UGLY. I'll accept: template operator Type () { throw BadNullConversion(); return Type(); } ...if that fixes the warning. Also, what compiler does this affect?