List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:July 30 2009 3:23pm
Subject:Re: mysqlpp::Time and negative times
View as plain text  
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.
Thread
mysqlpp::Time and negative timesAdrian Cornish28 Jul
  • Re: mysqlpp::Time and negative timesWarren Young29 Jul
    • Re: mysqlpp::Time and negative timesAdrian Cornish30 Jul
      • Re: mysqlpp::Time and negative timesWarren Young30 Jul