---
name: "std::chrono::time_point"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::chrono::time_point/3cxx"
---

# std::chrono::time\_point(3cxx)

chrono::time\_point represents a point in time as measured by a clock

## NAME

std::chrono::time\_point\< \_Clock, \_Dur \> - `chrono::time_point` represents a point in time as measured by a clock

## SYNOPSIS

### Public Types

**typedef** **\_Clock** **clock**\
 **typedef** \_Dur **duration**\
 **typedef** duration::period **period**\
 **typedef** duration::rep **rep**\

### Public Member Functions

constexpr **time\_point** (const duration &**\_\_dur**)\
 template\<**typename** **\_Dur2** , **typename**  = \_Require\<is\_convertible\<\_Dur2, \_Dur\>\>\> constexpr **time\_point** (const **time\_point**\< **clock**, **\_Dur2** \> &\_\_t)\
 constexpr **time\_point** & **operator++** ()\
 constexpr **time\_point** **operator++** (int)\
 constexpr **time\_point** & **operator+=** (const duration &**\_\_dur**)\
 constexpr **time\_point** & **operator--** ()\
 constexpr **time\_point** **operator--** (int)\
 constexpr **time\_point** & **operator-=** (const duration &**\_\_dur**)\
 constexpr duration **time\_since\_epoch** () const\

### Static Public Member Functions

**static** constexpr **time\_point** **max** () noexcept\
 **static** constexpr **time\_point** **min** () noexcept\

### Related Symbols

(Note that these are not member symbols.)

template\<**typename** **\_Clock** , **typename** **\_Dur1** , **typename** **\_Rep2** , **typename** **\_Period2** \> constexpr **time\_point**\< **\_Clock**, **typename** **common\_type**\< **\_Dur1**, duration\< **\_Rep2**, **\_Period2** \> \>::type \> **operator+** (const **time\_point**\< **\_Clock**, **\_Dur1** \> &**\_\_lhs**, const duration\< **\_Rep2**, **\_Period2** \> &**\_\_rhs**)\

## Detailed Description

### template\<typename \_Clock, typename \_Dur\>

class std::chrono::time\_point\< \_Clock, \_Dur \>"`chrono::time_point` represents a point in time as measured by a clock

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
