Hello Everyone:
I've been playing with porting my C++ app to use
mysql++ 2.0 instead of mysql++ 1.7. Looks good
overall. Nice work, Warren and everyone!
One question: I'd like to be able to maintain one code
base that works with 1.7 and 2.0 for the next while.
Is there a #define (or other methodology) I can use to
detect the version of mysql++ installed and
conditionally compile code for mysqlpp 1.7.XX or 2.0
as appropriate?
(The actual incompatibility I'm running into is that
1.7.xx supplies "Result operator [] int", and 2.0
supplies "Result.at()" (if memory serves).
Also (I know, I said one question): Maybe there should
also be a list of API changes between 1.7.xx and 2.0.
Thanks, jrobinson
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com