From: Warren Young Date: April 7 2006 9:39pm Subject: Re: NULL field comparison List-Archive: http://lists.mysql.com/plusplus/5629 Message-Id: <4436DC03.8090005@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Orton, Steve wrote: > Which produces the following compile error: > > "ambiguous overload for > 'const mysqlpp:ColData == mysqlpp::Null&' operator" Did the compiler not tell you what the alternatives were that it was forced to choose from? That would help me to understand where the ambiguity is. As far as I can see, there's only one conversion path: there's a template operator Null in coldata.h which should be able to convert ColData objects to Null-wrapped ColData objects. One sticky point I see is that there is no operator== for the Null template. Maybe the compiler wants to see one?