Well that kind of thing is usually done with inheritance and polymorphism.
If I get a chance to read the code I will try to come up with something.
2008/6/30 Warren Young <mysqlpp@stripped>:
> Soul Boy wrote:
>> Hi I can understand what your saying however from a users/usability
>> point of view it would be intuitive and useful if there was someway of
>> doing this other than declaring all your macros as nulls just in case
>> you want to insert a null value sometimes.
> Null-ness in SQL is a matter of data type. C++ is a statically-typed
> language. What you're asking is basically for dynamic typing.
> If you think there's a way it could be done the way you want, you're welcome
> to send a patch to the list so we can discuss something concrete.
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: