From: Warren Young Date: October 25 2006 12:14pm Subject: Re: Problems with timestamp List-Archive: http://lists.mysql.com/plusplus/6074 Message-Id: <453F551E.5050604@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Королев Илья wrote: >>>> 5. SSQLS structures should derive from a common base class. This let >>>> you put some useful common code in the MySQL++ library itself, but more >>>> importantly, it would let you make methods like Query::insert() into >>>> regular methods instead of templates. >>> Give a more detailed description (example), please. >> What else needs to be explained? It would be useful if all SSQLSes >> derived from a common base class that lives in the MySQL++ library. >> There's nothing more complicated than that to it. > > I mean "what do you think about interface of that common base class" :) It doesn't have to have _any_ methods to be useful. Just the ability to pass it to Query::insert() and similar methods will make it useful enough. If you want to get ideas for other methods it might have, try running some v2.1 SSQLSes through doc/ssqls-pretty