[time.point.arithmetic]

# 30 Time library [[time]](./#time)

## 30.6 Class template time_point [[time.point]](time.point#arithmetic)

### 30.6.4 Arithmetic [time.point.arithmetic]

[ð](#lib:operator++,time_point)

`constexpr time_point& operator++();
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2320)

*Effects*: Equivalent to: ++d_[.](#1.sentence-1)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2324)

*Returns*: *this[.](#2.sentence-1)

[ð](#lib:operator++,time_point_)

`constexpr time_point operator++(int);
`

[3](#3)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2335)

*Effects*: Equivalent to: return time_point{d_++};

[ð](#lib:operator--,time_point)

`constexpr time_point& operator--();
`

[4](#4)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2346)

*Effects*: Equivalent to: --d_[.](#4.sentence-1)

[5](#5)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2350)

*Returns*: *this[.](#5.sentence-1)

[ð](#lib:operator--,time_point_)

`constexpr time_point operator--(int);
`

[6](#6)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2361)

*Effects*: Equivalent to: return time_point{d_--};

[ð](#lib:operator+=,time_point)

`constexpr time_point& operator+=(const duration& d);
`

[7](#7)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2372)

*Effects*: Equivalent to: d_ += d[.](#7.sentence-1)

[8](#8)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2376)

*Returns*: *this[.](#8.sentence-1)

[ð](#lib:operator-=,time_point)

`constexpr time_point& operator-=(const duration& d);
`

[9](#9)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2387)

*Effects*: Equivalent to: d_ -= d[.](#9.sentence-1)

[10](#10)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/time.tex#L2391)

*Returns*: *this[.](#10.sentence-1)
