
Igor R. wrote:
Hi,
As far as I see, the time_period class does not support any subtraction operation. Is it possible to add it to the "wishlist"? It would be very useful addition for the further releases of the library. I mean the following operation:
----[123456789)----- -----period1 -------[3456789abcdef)---period2 ---[0123456789abc)------perod3
period2 - period1: -----------------[abcdef)
period3 - period1: ---[0)----------[abc)
I'll stay out of the more general period discussion for now. So if I
understand your request, the signature of operator- would look something like
this:
std::pair