Hi,
time_point
s are known to share the same epoch, they can be subtracted, yielding a valid duration
, even if the definition of the epoch no longer has meaning.
In Boost.Chrono, an epoch is a purely abstract and unspecified concept. There is no type representing an epoch. It is simply an idea that relates (or doesn't) time_point
s to a clock, and in the case that they share a clock, time_point
s to one another. time_point
s associated with different clocks are generally not interoperable unless the relationship between the epochs associated with each clock is known."
From http://www.boost.org/doc/libs/1_48_0/doc/html/chrono/users_guide.html