| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | March 17 2005 1:49am |
| Subject: | Re: Minor patch to null.h | ||
| View as plain text | |||
Steve Roberts wrote: > - template <class Type> operator Type () {throw BadNullConversion();} > + template <class Type> operator Type () {if (1) throw > BadNullConversion();else return Type();} Ugh. Try this instead: template <class Type> operator Type () { throw BadNullConversion(); return Type(); }
| Thread | ||
|---|---|---|
| • Minor patch to null.h | Steve Roberts | 16 Mar |
| • Re: Minor patch to null.h | Warren Young | 17 Mar |
