Hi,

On Mon, Apr 27, 2009 at 8:06 PM, Vinnie <thev...@yahoo.com> wrote:
> Apparently I did come up with an original idea. Because none of the wrappers 
> from the archives are using variable argument lists. All these wrappers are 
> basically doing the same thing, a very thin layer on top of SQlite.
>
> My goal for a wrapper was to allow, using only a single function call, all of 
> the parameter binds and column values to get assigned. Having a separate 
> function call to retrieve each column or bind each parameter isn't much 
> better than straight SQLite (not that I'm complaining about SQLite, it 
> rocks!).
>
> Hasn't anyone else used variable argument lists for binding parameters and 
> what not?

The thing is, variable argument lists are not terribly popular in
"modern" C++. The trend is more for function call chaining. I have
seen at least one wrapper besides one that I have written that copies
the idea of overloaded shift operators for formatted input/output, but
applied to a database wrapper instead of the I/O stream library.
(Actually, considering that the prepared statement text is effectively
a format string, it would be more like copying Boost.Format.)

Regards,
Eugene Wee
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to