From: Warren Young Date: July 30 2009 3:23pm Subject: Re: mysqlpp::Time and negative times List-Archive: http://lists.mysql.com/plusplus/8685 Message-Id: <4A71BAEE.1070007@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Adrian Cornish wrote: > > What about adding another constructor with Time(short char h, unsigned > char m, unsigned char s); > The class could then keep track of which constructor was used and if > the hour value could/should be negative. > > Or a bool flag (with getters & setters) could be added to class to > indicate sign. These change the size of the object, and thus the library's ABI.