[boost][date_time]

 

Hi there,

 

I have a question about the boost::posix::time_duration class.  It has accessors such as:

 

-          hours()

-          minutes()

 

that return a data type of long.  I would have expected it to return a datatype of boost::int64_t (or boost::int32_t) because could there be a risk that the return value would cause an overflow on an 8 bit embedded platform.

 

Regards,

Michael